diff --git a/charts/courselit/Chart.yaml b/charts/courselit/Chart.yaml index 8bcf12d..1a90a75 100644 --- a/charts/courselit/Chart.yaml +++ b/charts/courselit/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: courselit description: A Helm chart for deploying CourseLIT Learning Management System on Kubernetes type: application -version: 0.1.3 +version: 0.1.4 appVersion: "latest" keywords: - courselit diff --git a/charts/courselit/templates/app-deployment.yaml b/charts/courselit/templates/app-deployment.yaml index a498654..0d81fa1 100644 --- a/charts/courselit/templates/app-deployment.yaml +++ b/charts/courselit/templates/app-deployment.yaml @@ -58,10 +58,9 @@ spec: name: {{ .Values.app.secrets.emailSecretRef.name }} key: {{ .Values.app.secrets.emailSecretRef.hostKey }} - name: EMAIL_FROM - valueFrom: - secretKeyRef: - name: {{ .Values.app.secrets.emailSecretRef.name }} - key: {{ .Values.app.secrets.emailSecretRef.fromKey }} + value: {{ .Values.app.smtp.from | quote }} + - name: EMAIL_PORT + value: "{{ .Values.app.smtp.port }}" {{- if .Values.app.secrets.recaptchaSecretRef.name }} - name: RECAPTCHA_SITE_KEY valueFrom: