This repository has been archived by the owner on Feb 22, 2022. It is now read-only.
mongodb chart: respect existingSecret in standalone deployment #7047
Labels
lifecycle/stale
Denotes an issue or PR has remained open with no activity and has become stale.
Is this a request for help?:
Is this a BUG REPORT or FEATURE REQUEST? (choose one):
This is a BUG
Version of Helm and Kubernetes:
Helm version 2.9.1
Kubernetes version 1.11.0
Which chart:
stable/mongodb chart version 4.0.4
What happened:
standalone mongodb doesn't respect .Values.existingSecret but replicaset does.
What you expected to happen:
Secret handling with and without replicaset should be similar.
How to reproduce it (as minimally and precisely as possible):
This command will fail with
Error: release mongodb failed: secrets "mongodb" already exists
if there is a precreated secret with namemongodb
.Moreover
helm delete --purge mongodb
will delete this "existing", predefined secret.if we omit
--set fullnameOverride
it will create another secret (i.e. won't use --set existingSecret).Anything else we need to know:
The text was updated successfully, but these errors were encountered: