🩹(helm) rename mismatching environment variable

CSRF trusted origins are set using an environment variable. The env
value was wrongly name to CORS_ALLOWED_ORIGINS, which doesn't exist
in our Django configurations. I fixed this minor issue.
This commit is contained in:
Lebaud Antoine
2024-03-19 09:59:19 +01:00
committed by aleb_the_flash
parent 28adf987f7
commit d49cc11ef1
2 changed files with 2 additions and 2 deletions

View File

@@ -5,7 +5,7 @@ image:
backend:
envVars:
DJANGO_CORS_ALLOWED_ORIGINS: http://desk.127.0.0.1.nip.io,https://desk.127.0.0.1.nip.io
DJANGO_CSRF_TRUSTED_ORIGINS: https://desk.127.0.0.1.nip.io,http://desk.127.0.0.1.nip.io
DJANGO_CONFIGURATION: Production
DJANGO_ALLOWED_HOSTS: "*"
DJANGO_SECRET_KEY: "ThisIsAnExampleKeyForDevPurposeOnly"

View File

@@ -5,7 +5,7 @@ image:
backend:
envVars:
DJANGO_CORS_ALLOWED_ORIGINS: http://desk-staging.beta.numerique.gouv.fr,https://desk-staging.beta.numerique.gouv.fr
DJANGO_CSRF_TRUSTED_ORIGINS: http://desk-staging.beta.numerique.gouv.fr,https://desk-staging.beta.numerique.gouv.fr
DJANGO_CONFIGURATION: Production
DJANGO_ALLOWED_HOSTS: "*"
DJANGO_SECRET_KEY: "ThisIsAnExampleKeyForDevPurposeOnly"