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

Allow overriding default 'st2chatops.env' variables #120

Merged
merged 1 commit into from
Mar 25, 2019
Merged

Conversation

arm4b
Copy link
Member

@arm4b arm4b commented Mar 21, 2019

Closes #50
Needed for StackStorm/stackstorm-k8s#17 and StackStorm/st2-dockerfiles#19 st2chatops K8s integration.

This PR allows passing to st2chatops.env ENV variables, - they'll take precedence over defaults. This way it's another option to override st2chatops settings instead of editing st2chatops.env file directly.
Useful in init systems (/etc/sysconfig/st2chatops, /etc/default/st2chatops) and in Docker environment.

@arm4b arm4b merged commit 9109e70 into master Mar 25, 2019
@arm4b arm4b deleted the enh/passing-env branch March 25, 2019 11:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants