Skip to content

Commit

Permalink
Catchup backend: 3cf3d27
Browse files Browse the repository at this point in the history
  • Loading branch information
minottic authored May 5, 2023
1 parent 2268b60 commit 5a1e084
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion backend
2 changes: 1 addition & 1 deletion helm/configs/backend/config.local.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ module.exports = {
aadEndpoint: "https://login.microsoftonline.com",
graphEndpoint: "https://graph.microsoft.com"
},
expressSessionSecret: "asecret",
expressSessionSecret: process.env.EXPRESS_SESSION_SECRET,
expressSessionStore: true,
expressSessionSaveUninitialized: false,
smtpMessage: {
Expand Down
6 changes: 6 additions & 0 deletions helm/configs/backend/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ secrets:
functionalAccounts.json: "{{ .Values.secretsJson.FUNCTIONAL_ACCOUNTS }}"
providers.json: "{{ .Values.secretsJson.PROVIDERS }}"
mail_auth: "{{ .Values.secretsJson.MAIL_AUTH }}"
express_session: "{{ .Values.secretsJson.EXPRESS_SESSION_SECRET }}"

ingress:
enabled: true
Expand Down Expand Up @@ -74,6 +75,11 @@ env:
secretKeyRef:
name: "{{ .Release.Name }}-s"
key: mail_auth
- name: EXPRESS_SESSION_SECRET
valueFrom:
secretKeyRef:
name: "{{ .Release.Name }}-s"
key: express_session

volumeMounts:
- name: config-volume
Expand Down

0 comments on commit 5a1e084

Please sign in to comment.