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

feat: allow Vault address to be specified in .Values.environmentVars #113

Merged
merged 2 commits into from
Jun 16, 2021
Merged

feat: allow Vault address to be specified in .Values.environmentVars #113

merged 2 commits into from
Jun 16, 2021

Conversation

jaredallard
Copy link
Contributor

This PR doesn't include VAULT_ADDRESS if it's not set at .Values.vault.address. This allows alternative ways of supplying the vault address to be used via .Values.environmentVars.

My use case is that VAULT_ADDRESS gets supplied after the helm chart has been rendered for our developer environment (think snapshots).

@@ -78,7 +78,7 @@ environmentVars: []
# will watch all namespaces. If the value is empty and rbac.namespaced is set to
# true, then the namespace of the release will be used.
vault:
address: "http://vault:8200"
address: ""
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This might be breaking, open to different ways of doing this

Copy link
Owner

Choose a reason for hiding this comment

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

This should be ok, the next release also contains a breaking change for the CRD handling of the Helm chart.

@ricoberger
Copy link
Owner

Hi @jaredallard, thanks for your contribution 🙂

@ricoberger ricoberger merged commit 7bf173a into ricoberger:master Jun 16, 2021
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