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

[bitnami/mongodb]Add "or" condition between .Values.auth.existingSecret and .Values.auth.rootPassword #25944

Merged
merged 3 commits into from
May 24, 2024

Conversation

soufianebenali
Copy link
Contributor

@soufianebenali soufianebenali commented May 16, 2024

Description of the change

Ensure that the Helm chart handles authentication correctly by using an "or" condition between .Values.auth.existingSecret and .Values.auth.rootPassword while maintaining the "and" condition with .Values.auth.enabled. This allows for the use of existing secrets from Vault alongside the root password.

Benefits

We can specify the root password on the value or inject it via existingSecret.

Possible drawbacks

No limitations as far as I can tell.

Applicable issues

Checklist

  • Chart version bumped in Chart.yaml according to semver. This is not necessary when the changes only affect README.md files.
  • Variables are documented in the values.yaml and added to the README.md using readme-generator-for-helm
  • Title of the pull request follows this pattern [bitnami/<name_of_the_chart>] Descriptive title
  • All commits signed off and in agreement of Developer Certificate of Origin (DCO)

…Values.auth.rootPassword

Description:
Ensure that the Helm chart handles authentication correctly by using an "or" condition between .Values.auth.existingSecret and .Values.auth.rootPassword while maintaining the "and" condition with .Values.auth.enabled. This allows for the use of existing secrets from Vault alongside the root password.

Resolved: bitnami#25885

Signed-off-by: Soufiane Benali <soufiane.benali@aerztekasse.ch>
@github-actions github-actions bot added mongodb triage Triage is needed labels May 16, 2024
@github-actions github-actions bot requested a review from carrodher May 16, 2024 09:24
@carrodher carrodher added verify Execute verification workflow for these changes in-progress labels May 16, 2024
@github-actions github-actions bot removed the triage Triage is needed label May 16, 2024
@github-actions github-actions bot removed the request for review from carrodher May 16, 2024 13:16
@github-actions github-actions bot requested a review from alemorcuq May 16, 2024 13:16
alemorcuq
alemorcuq previously approved these changes May 20, 2024
Signed-off-by: Alejandro Moreno <amorenoc@vmware.com>
Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com>
@alemorcuq alemorcuq merged commit 5f2204f into bitnami:main May 24, 2024
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
mongodb solved verify Execute verification workflow for these changes
Projects
None yet
4 participants