Skip to content

Commit

Permalink
Add CSRF_TRUSTED_ORIGINS env variable to Kustomize deployment template.
Browse files Browse the repository at this point in the history
  • Loading branch information
ropable committed Aug 7, 2024
1 parent e2b8f2d commit de443b9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion kustomize/base/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ spec:
env:
- name: ALLOWED_HOSTS
value: ".dbca.wa.gov.au"
- name: CSRF_TRUSTED_ORIGINS
value: "https://*.dbca.wa.gov.au"
- name: CSRF_COOKIE_SECURE
value: "True"
- name: SESSION_COOKIE_SECURE
Expand All @@ -33,7 +35,7 @@ spec:
memory: "100Mi"
cpu: "5m"
limits:
memory: "2048Mi"
memory: "2Gi"
cpu: "1000m"
startupProbe:
httpGet:
Expand Down

0 comments on commit de443b9

Please sign in to comment.