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

[Feature]: Ability to use existing secret for usernameAdminPassword #150

Open
anified opened this issue Nov 5, 2024 · 0 comments
Open

Comments

@anified
Copy link

anified commented Nov 5, 2024

Feature Description

Adding an optional solace.existingSecret value to helm chart for enabling usernameAdminPassword deployment with encryption.

Use Case

Do not want to save plain text password in repository for CI/CD deployment.

Proposed Solution

Wrap secret.yaml:
{{- if not .Values.solace.existingSecret }}

For solaceStatefulSet.yaml:
Change:
secretName: {{ template "solace.fullname" . }}-secrets
To:
secretName: {{ .Values.solace.existingSecret | default (printf "%s-secrets" (include "solace.fullname" .)) }}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant