2 parents 6969dbd + 1c20f8d commit 5ada606Copy full SHA for 5ada606
1 file changed
charts/feature/templates/service-secret.yaml
@@ -9,8 +9,8 @@ metadata:
9
{{- include "feature.labels" . | nindent 4 }}
10
app.kubernetes.io/component: service
11
type: Opaque
12
+{{- $password := .Values.service.authentication.password }}
13
data:
- {{- $password := .Values.service.authentication.password }}
14
{{- if and $existingSecret $existingSecret.data (index $existingSecret.data "AUTHENTICATION_PASSWORD") }}
15
{{- /* Preserve existing password on upgrades */ -}}
16
AUTHENTICATION_PASSWORD: {{ index $existingSecret.data "AUTHENTICATION_PASSWORD" | quote }}
0 commit comments