Skip to content

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

Open
@RobbieFernandez

Description

@RobbieFernandez

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 }}

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions