From c68db8ce28c0648ba82ebcec4764f324b5d90e9e Mon Sep 17 00:00:00 2001 From: Mossroy Date: Thu, 14 Sep 2023 21:04:35 +0000 Subject: [PATCH] Fix name mismatch existingSecret/externalSecret --- charts/peertube/templates/deployment.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/charts/peertube/templates/deployment.yaml b/charts/peertube/templates/deployment.yaml index 58808b8..46de03e 100644 --- a/charts/peertube/templates/deployment.yaml +++ b/charts/peertube/templates/deployment.yaml @@ -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 }}