diff --git a/deploy/demo/forms-frontend/forms-frontend-env.yaml b/deploy/demo/forms-frontend/forms-frontend-env.yaml index 41bc6e04..d2044d4e 100644 --- a/deploy/demo/forms-frontend/forms-frontend-env.yaml +++ b/deploy/demo/forms-frontend/forms-frontend-env.yaml @@ -17,9 +17,15 @@ spec: - name: FDK_USE_DEMO_LOGO value: "true" - name: DATAJEGER_EMAIL_ADDRESS - value: datajegeren@norge.no + valueFrom: + secretKeyRef: + name: fdk-smtp-demo + key: DATAJEGER_EMAIL_ADDRESS - name: FDK_MAIL_SERVICE_ENDPOINT - value: http://localhost:8081/api/sendmail + valueFrom: + secretKeyRef: + name: fdk-smtp-demo + key: FDK_MAIL_SENDER_SERVICE_ENDPOINT - name: FDK_MAIL_SERVICE_API_KEY valueFrom: secretKeyRef: diff --git a/deploy/prod/forms-frontend/forms-frontend-env.yaml b/deploy/prod/forms-frontend/forms-frontend-env.yaml index 813c51d4..04d88c68 100644 --- a/deploy/prod/forms-frontend/forms-frontend-env.yaml +++ b/deploy/prod/forms-frontend/forms-frontend-env.yaml @@ -15,9 +15,15 @@ spec: - name: forms-frontend env: - name: DATAJEGER_EMAIL_ADDRESS - value: datajegeren@norge.no + valueFrom: + secretKeyRef: + name: fdk-smtp-prod + key: DATAJEGER_EMAIL_ADDRESS - name: FDK_MAIL_SERVICE_ENDPOINT - value: http://localhost:8081/api/sendmail + valueFrom: + secretKeyRef: + name: fdk-smtp-prod + key: FDK_MAIL_SENDER_SERVICE_ENDPOINT - name: FDK_MAIL_SERVICE_API_KEY valueFrom: secretKeyRef: diff --git a/deploy/staging/forms-frontend/forms-frontend-env.yaml b/deploy/staging/forms-frontend/forms-frontend-env.yaml index 17aa34a2..2368e5fe 100644 --- a/deploy/staging/forms-frontend/forms-frontend-env.yaml +++ b/deploy/staging/forms-frontend/forms-frontend-env.yaml @@ -15,9 +15,15 @@ spec: - name: forms-frontend env: - name: DATAJEGER_EMAIL_ADDRESS - value: datajegeren@norge.no + valueFrom: + secretKeyRef: + name: fdk-smtp-staging + key: DATAJEGER_EMAIL_ADDRESS - name: FDK_MAIL_SERVICE_ENDPOINT - value: http://localhost:8081/api/sendmail + valueFrom: + secretKeyRef: + name: fdk-smtp-staging + key: FDK_MAIL_SENDER_SERVICE_ENDPOINT - name: FDK_MAIL_SERVICE_API_KEY valueFrom: secretKeyRef: