From d444b00d1d75a1c173c5b42ee44bd0b5cfdd5b04 Mon Sep 17 00:00:00 2001 From: Derek Roberts Date: Wed, 6 Mar 2024 11:33:04 -0800 Subject: [PATCH] Use label so Helm stops replacing secrets --- charts/quickstart-openshift/templates/secret.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/charts/quickstart-openshift/templates/secret.yaml b/charts/quickstart-openshift/templates/secret.yaml index 3e4c978d8..375880871 100644 --- a/charts/quickstart-openshift/templates/secret.yaml +++ b/charts/quickstart-openshift/templates/secret.yaml @@ -17,6 +17,7 @@ kind: Secret metadata: name: {{ .Release.Name }} labels: {{- include "selectorLabels" . | nindent 4 }} + "helm.sh/resource-policy": keep data: databasePassword: {{ $databasePassword | quote }} postgres-password: {{ $databasePassword | quote }}