Skip to content

oracle-db Helm chart re-generates the password secret at each deploy #2676

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

Open
RobbieFernandez opened this issue Aug 2, 2023 · 0 comments
Assignees

Comments

@RobbieFernandez
Copy link

The oracle-db helm chart located here: OracleDatabase/SingleInstance/helm-charts/oracle-db has a secrets manifest that renders a random string as the database password. This value is re-generated every single time the chart is rendered. The actual database password however does not seem to be update to match the new secret, meaning any pods that reference this secret will now have the incorrect password.

I believe the solution is to wrap this line in a lookup check, to first see if the secret already exists, and only generate the new value if it does.

oracle_pwd: {{ default (randAlphaNum 10) .Values.oracle_pwd | quote }}

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

No branches or pull requests

2 participants