-
Notifications
You must be signed in to change notification settings - Fork 98
[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
base: aib2op
Are you sure you want to change the base?
Conversation
{% endfor %} | ||
{% endif %} | ||
data: | ||
RSL_TOKEN: "{{ rslcfg.registration_key | b64encode }}" |
There was a problem hiding this comment.
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 }}" |
There was a problem hiding this comment.
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 }}
.
There was a problem hiding this comment.
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 }}" |
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
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.
No description provided.