Merge branch 'existingSecret-externalSecret-mismatch' into 'master'

Fix name mismatch existingSecret/externalSecret

Closes #51

See merge request ananace/charts!57
This commit is contained in:
Alexander Olofsson 2023-09-14 21:04:35 +00:00
commit 32cd5bcc40

View file

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