Skip to content

[patch] Require RSL secret name as API parameter #1742

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 5 commits into
base: aib2op
Choose a base branch
from

Conversation

sidd101010
Copy link

No description provided.

{% endfor %}
{% endif %}
data:
RSL_TOKEN: "{{ rslcfg.registration_key | b64encode }}"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

registration_key is not the correct name of the variable


rsl:
url: "{{ rslcfg.url }}"
token : "{{ rslcfg.rsl_token }}"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The token should not be included here as it is a secret value. There should be a field called secretName whose value is {{ mas_aibroker_rsl_token_secret }}.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The field names also need to match those in https://github.ibm.com/maximoappsuite/ibm-mas-aibroker/pull/156

debug:
msg:
- "rsl url ................. {{ rslcfg.url }}"
- "rsl token ............. {{ rslcfg.rsl_token }}"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do not print the secret token value.

@@ -0,0 +1,36 @@
- name: Read rsl config from environment
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For consistency I would write "rsl" in capital letters here in the human-readable message.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants