-
Notifications
You must be signed in to change notification settings - Fork 9.2k
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
[bitnami/common] Allow handling of new secrets after initial installation #28581
[bitnami/common] Allow handling of new secrets after initial installation #28581
Conversation
…tallation Signed-off-by: Chris Werner Rau <cwrau@cwrau.info>
fbd1f78
to
00b8c29
Compare
Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com>
Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com>
Hi @cwrau I'm sorry but the changes view that GH offers it's not the best in this case and I'm unable to fully understand the changes... Could you do a quick summary of the behavior before & after your changes? Thanks in advance. |
Currently, when you add a secret to be generated after the chart was initially installed, the upgrade fails saying that the value has to be supplied, even if This changes this logic in the case of |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for providing the details! I've been reviewing the changes and it seems your approach is more robust and streamlined.
In any case, I'll ask for a second review before approving it.
Is this issue related with this change? #28770 |
Description of the change
This changes the handling of non-existing secrets that should be generated so they will be generated if
failOnNew
istrue
.Benefits
This allows the user to add new secrets to a managed secret without having to specify it and letting this chart generate it.
Possible drawbacks
Not that I can think of.
Applicable issues
Non that I created, but we sometimes do https://github.com/teutonet/teutonet-helm-charts/blob/main/charts/base-cluster/templates/monitoring/kube-prometheus-stack/oauth-proxy-secret.yaml?plain=1#L14C204-L14C356 to work around this problem.
Additional information
Checklist
Chart.yaml
according to semver. This is not necessary when the changes only affect README.md files.README.md
using readme-generator-for-helm