Skip to content
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

Fix K8s auth token to read token from storage path #136

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

bhanukolli
Copy link

Assuming RD_CONFIG_TOKEN_STORAGE_PATH is used to store the file path where the token is kept. Example RD_CONFIG_TOKEN_STORAGE_PATH="/serviceaccount/token", So we read the file's content instead of the file path. Added fix for the same.

Assuming RD_CONFIG_TOKEN_STORAGE_PATH is used to store the file path where the token is kept. 
Example RD_CONFIG_TOKEN_STORAGE_PATH="/serviceaccount/token",  So we read the file's content instead of the file path. Added fix for the same.
@ltamaster
Copy link
Contributor

hi @bhanukolli , the RD_CONFIG_TOKEN_STORAGE_PATH is not a file path, it returns the content of the key storarage set in the Rundeck GUI

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