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(helm): also no postgres if db host set in env #3078

Merged
merged 2 commits into from
Aug 31, 2022
Merged

Conversation

mxyng
Copy link
Collaborator

@mxyng mxyng commented Aug 31, 2022

Summary

The DB host may also be set with environment variables so try to detect that as well.

Keep infra-server-encryption-key through helm delete. When using an external database, the data does not get deleted when uninstalling the chart. If the encryption key changes, the database cannot be reused.

https://helm.sh/docs/howto/charts_tips_and_tricks/#tell-helm-not-to-uninstall-a-resource

@mxyng mxyng merged commit 81ce108 into main Aug 31, 2022
@mxyng mxyng deleted the mxyng/helm-postgres branch August 31, 2022 23:40
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.

None yet

2 participants