Fix name mismatch existingSecret/externalSecret

This commit is contained in:
Mossroy 2023-09-14 21:04:35 +00:00 committed by Alexander Olofsson
parent 5df9feff5d
commit c68db8ce28

View file

@ -118,12 +118,12 @@ spec:
name: {{ .Values.externalRedis.existingSecret }} name: {{ .Values.externalRedis.existingSecret }}
{{- end }} {{- end }}
{{- end }} {{- end }}
{{- if .Values.config.mail.externalSecret }} {{- if .Values.config.mail.existingSecret }}
- name: PEERTUBE_SMTP_PASSWORD - name: PEERTUBE_SMTP_PASSWORD
valueFrom: valueFrom:
secretKeyRef: secretKeyRef:
key: {{ .Values.config.mail.externalSecretKey | default "smtp-password" }} key: {{ .Values.config.mail.existingSecretKey | default "smtp-password" }}
name: {{ .Values.config.mail.externalSecret }} name: {{ .Values.config.mail.existingSecret }}
{{- end }} {{- end }}
{{- with .Values.extraEnv }} {{- with .Values.extraEnv }}
{{- . | toYaml | nindent 12 }} {{- . | toYaml | nindent 12 }}