Repository navigation
[stable/stolon] Fix issue with secret deletion during helm upgrade - #5903
Conversation
|
Hi @rtluckie. Thanks for your PR. I'm waiting for a kubernetes member to verify that this patch is reasonable to test. If it is, they should reply with I understand the commands that are listed here. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
|
/assign @unguiculus |
There was a problem hiding this comment.
You should bump the minor version since you're adding features.
There was a problem hiding this comment.
Can you explain why you remove {{ if .Release.IsInstall }} and add the annotation instead?
There was a problem hiding this comment.
@unguiculus I'm still trying to sort this out. Intent is to create the secret on initial install and maintain the secret data with subsequent helm upgrades. With {{ if .Release.IsInstall }} the secret is deleted during helm upgrade. I thought the removal of {{ if .Release.IsInstall }} + addition of annotation would remedy, but it does not appear so.
see gist for details.
any guidance would be appreciated.
There was a problem hiding this comment.
The annotation doesn't help here because you don't delete the release.
I would remove {{ if .Release.IsInstall }} and live with the fact that auto-generated passwords are regenerated on upgrade. Many charts have this problem. Using --reuse-values could help here. Alternatively, remove default passwords completely and make them required. You can provide a custom values file with passwords for CI only.
- fix issue with secret deletion during helm update - add link to inspiration chart - add lwolf as chart maintainer
- fix for prometheus scraping
- remove `"helm.sh/resource-policy": keep` annotation - require `superuserPassword` and `replicationPassword`
|
/retest |
|
@rtluckie: you can't request testing unless you are a kubernetes member. DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
| ## password for the superuser (default is 40 random chars) | ||
| # superuserPassword: "" | ||
| ## password for the superuser | ||
| superuserPassword: "superuserPassword" |
There was a problem hiding this comment.
Now you are setting default passwords. That's not good. If you don't want to auto-generate them, make them empty and use the required function. Provide an additional values.yaml for CI that sets passwords for CI only.
|
The values file for CI should only contain values that override the defaults from |
- make `superuserPassword` and `replicationPassword` values required - add CI specific values files - bump to latest tagged image of stolon
|
@unguiculus all issues/requested changes should be resolved |
|
/lgtm |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: rtluckie, unguiculus The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
- changes have been merged upstream helm/charts#5903
* art-ha-static-volumes: (60 commits) added support for static pv [stable/artifactory] adding support for edge node and replicator (helm#5649) [stable/grafana] Set the user and fs group for grafana (helm#5854) [stable/stolon] Fix issue with secret deletion during helm upgrade (helm#5903) cert-manager: fast-forward to upstream 36289cf0 (helm#5919) Split Jenkins readiness and liveness probe periods (helm#5704) Kafka release name check (helm#5770) Adding JFrog Distribution (helm#5631) Correct default zookeeper host to be compatible with zk charts (helm#5824) [stable/redis] add RBAC (helm#5971) [stable/wordpress] Set dependencies to latest version (helm#6074) [stable/rabbitmq] Release 1.1.6 (helm#6095) [stable/mariadb] Fix configurable parameters (helm#6092) [stable/keycloak] Add option to configure sidecars and misc improvements (helm#6090) [stable/kubewatch] - Use maintained bitnami image for kubewatch (helm#5871) [stable/ghost] Release 4.0.1 (helm#6085) update PROCESSES.md to clarify promotion process (helm#6084) [incubator/drone] Move drone from incubator to stable (helm#5780) fix for helm#6039 (helm#6042) [stable/sonatype-nexus] Update image to 3.12.1 (helm#6076) ...
…elm#5903) * Fix issue with secret deletion during helm upgrade - fix issue with secret deletion during helm update - add link to inspiration chart - add lwolf as chart maintainer * Add port definition to sentinel deployment manifest - fix for prometheus scraping * requested changes * Suggested changes - remove `"helm.sh/resource-policy": keep` annotation - require `superuserPassword` and `replicationPassword` * Requested changes - make `superuserPassword` and `replicationPassword` values required - add CI specific values files - bump to latest tagged image of stolon * Update values.yaml * Update Chart.yaml * Update README.md Signed-off-by: voron <[email protected]>
Uh oh!
There was an error while loading. Please reload this page.