Skip to content

Commit

Permalink
Merge pull request #48 from Informasjonsforvaltning/develop
Browse files Browse the repository at this point in the history
fix: add correct email service envs
  • Loading branch information
pooriamehregan authored May 3, 2024
2 parents 86bdb75 + 1543a0c commit 1cfea79
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 6 deletions.
10 changes: 8 additions & 2 deletions deploy/demo/forms-frontend/forms-frontend-env.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,15 @@ spec:
- name: FDK_USE_DEMO_LOGO
value: "true"
- name: DATAJEGER_EMAIL_ADDRESS
value: [email protected]
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:
Expand Down
10 changes: 8 additions & 2 deletions deploy/prod/forms-frontend/forms-frontend-env.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,15 @@ spec:
- name: forms-frontend
env:
- name: DATAJEGER_EMAIL_ADDRESS
value: [email protected]
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:
Expand Down
10 changes: 8 additions & 2 deletions deploy/staging/forms-frontend/forms-frontend-env.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,15 @@ spec:
- name: forms-frontend
env:
- name: DATAJEGER_EMAIL_ADDRESS
value: [email protected]
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:
Expand Down

0 comments on commit 1cfea79

Please sign in to comment.