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/redis] Disable all usages of usePasswordFiles if auth.enabled is unset #32253

Merged

Conversation

holzgeist
Copy link
Contributor

Description of the change

This is a followup of #32208 (also reported here #32218) to disable usage of usePasswordFiles not only in master, but also replicas and sentinel

Benefits

Deployments using replicas and sentinel don't crash with the error mentioned in #32218

Possible drawbacks

None that I'm aware

Applicable issues

Additional information

This is a pure copy&pase PR, I don't have the infrastructure to generate/test Helm Charts

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)

@github-actions github-actions bot added redis triage Triage is needed labels Mar 4, 2025
@github-actions github-actions bot requested a review from javsalgar March 4, 2025 08:23
@holzgeist holzgeist force-pushed the fix-use-password-only-if-auth-is-set-v2 branch from 13e3020 to 1b06479 Compare March 4, 2025 08:23
@holzgeist holzgeist force-pushed the fix-use-password-only-if-auth-is-set-v2 branch from 1b06479 to 59d8867 Compare March 4, 2025 08:25
Signed-off-by: Bitnami Containers <[email protected]>
@carrodher carrodher added verify Execute verification workflow for these changes in-progress labels Mar 4, 2025
@github-actions github-actions bot removed the triage Triage is needed label Mar 4, 2025
@github-actions github-actions bot removed the request for review from javsalgar March 4, 2025 08:43
@github-actions github-actions bot requested a review from dgomezleon March 4, 2025 08:43
migruiz4 added 3 commits March 4, 2025 12:03
Signed-off-by: Miguel Ruiz <[email protected]>

Signed-off-by: Miguel Ruiz <[email protected]>
Signed-off-by: Miguel Ruiz <[email protected]>

Signed-off-by: Miguel Ruiz <[email protected]>
Signed-off-by: Miguel Ruiz <[email protected]>

Signed-off-by: Miguel Ruiz <[email protected]>
Copy link
Member

@migruiz4 migruiz4 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for your contribution @holzgeist!

Due to the similarity in the changes, and in order to avoid releasing two versions of the chart, I have implemented some changes from (#32259) into this PR.

@dgomezleon dgomezleon enabled auto-merge (squash) March 4, 2025 11:47
@dgomezleon dgomezleon merged commit 1642f81 into bitnami:main Mar 4, 2025
11 checks passed
@holzgeist holzgeist deleted the fix-use-password-only-if-auth-is-set-v2 branch March 4, 2025 12:13
@@ -308,7 +308,7 @@ spec:
- /bin/bash
- -c
- |
{{- if .Values.usePasswordFiles }}
Copy link

@littlelionking littlelionking Mar 4, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This can also be updated to .Values.auth.usePasswordFiles

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My bad, I must have missed it while editing in the Github UI.

I have restored #32259 just to fix that

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please be consistent .Values.auth.usePasswordFiles or .Values.usePasswordFiles - see for more information: #32352

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
redis solved verify Execute verification workflow for these changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[bitnami/redis] MountVolume.SetUp failed for volume "redis-password" : secret "redis" not found
8 participants