Skip to content

fix(ContainerAuthenticator): add sa-token as default CR token filename#202

Merged
padamstx merged 1 commit intomainfrom
add-default-filename
May 22, 2023
Merged

fix(ContainerAuthenticator): add sa-token as default CR token filename#202
padamstx merged 1 commit intomainfrom
add-default-filename

Conversation

@padamstx
Copy link
Copy Markdown
Contributor

@padamstx padamstx commented May 3, 2023

This commit adds support for a second default CR token filename. If the user doesn't specify a CR token filename, the authenticator will first try '/var/run/secrets/tokens/vault-token', and then '/var/run/secrets/tokens/sa-token' in that order.

@padamstx padamstx self-assigned this May 3, 2023
@padamstx padamstx requested review from dpopp07 and pyrooka May 3, 2023 17:22
Copy link
Copy Markdown
Member

@pyrooka pyrooka left a comment

Choose a reason for hiding this comment

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

LGTM!

@padamstx padamstx added the do-not-merge Do NOT merge this PR label May 5, 2023
Copy link
Copy Markdown
Contributor

@dpopp07 dpopp07 left a comment

Choose a reason for hiding this comment

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

Looks good and confirmed with internal cluster 👍

This commit adds support for a second default CR token filename.
If the user doesn't specify a CR token filename, the authenticator will
first try '/var/run/secrets/tokens/vault-token', and then
'/var/run/secrets/tokens/sa-token' in that order.

Signed-off-by: Phil Adams <phil_adams@us.ibm.com>
@padamstx padamstx force-pushed the add-default-filename branch from 3e7be5d to 3b59728 Compare May 22, 2023 20:19
@padamstx padamstx merged commit 593244a into main May 22, 2023
@padamstx padamstx deleted the add-default-filename branch May 22, 2023 20:34
ibm-devx-sdk pushed a commit that referenced this pull request May 22, 2023
## [9.18.3](9.18.2...9.18.3) (2023-05-22)

### Bug Fixes

* **ContainerAuthenticator:** add sa-token as default CR token filename ([#202](#202)) ([593244a](593244a))
@ibm-devx-sdk
Copy link
Copy Markdown
Contributor

🎉 This PR is included in version 9.18.3 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

do-not-merge Do NOT merge this PR released

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants