-
Notifications
You must be signed in to change notification settings - Fork 128
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
Proposal: Add the ability to use os variables in jiralert.yml #122
Comments
Duplicate of #77 |
Fixed by #125 |
This should be closed, due to splitt3r's merged PR, right? |
Hi, do you have an example how to define the variables in I have defined in jiralert.yml defaults:
user: ${JIRA_USER} but it does not work, is the syntax correct ? defaults:
user: $(JIRA_USER) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi
As I can see there is a lack of ability to use os env variables in jiralert.yml. I wrote a helm chart for Jiralert and I am deploying it via terraform for the different AWS accounts. It is impossible for me to store credentials to Jira in plaintext config.
Proposal:
To add the ability to use os env variables just add
content = []byte(os.ExpandEnv(string(content)))
in func LoadFile of config.go file.It works fine for me.
It would be great if you include it in the next release.
Thanks.
The text was updated successfully, but these errors were encountered: