diff --git a/packages/charts/crisiscleanup/test/__snapshots__/main.spec.ts.snap b/packages/charts/crisiscleanup/test/__snapshots__/main.spec.ts.snap index 94e9712f..b06f62c2 100644 --- a/packages/charts/crisiscleanup/test/__snapshots__/main.spec.ts.snap +++ b/packages/charts/crisiscleanup/test/__snapshots__/main.spec.ts.snap @@ -1136,7 +1136,9 @@ exports[`CrisisCleanupChart: 'defaults' > config matches snapshot > defaults-con "CONNECT_INSTANCE_ID": "", "DJANGO_ACCOUNT_ALLOW_REGISTRATION": "true", "DJANGO_ALLOWED_HOSTS": "*", + "DJANGO_CORS_ORIGIN_WHITELIST": "https://local.crisiscleanup.io,https://app.local.crisiscleanup.io", "DJANGO_CSRF_COOKIE_SECURE": "true", + "DJANGO_CSRF_TRUSTED_ORIGINS": "https://local.crisiscleanup.io,https://app.local.crisiscleanup.io", "DJANGO_EMAIL_BACKEND": "django.core.mail.backends.dummy.EmailBackend", "DJANGO_SECURE_SSL_REDIRECT": "false", "DJANGO_SESSION_COOKIE_SECURE": "true", @@ -2296,7 +2298,9 @@ exports[`CrisisCleanupChart: 'with spread' > config matches snapshot > with spre "CONNECT_INSTANCE_ID": "", "DJANGO_ACCOUNT_ALLOW_REGISTRATION": "true", "DJANGO_ALLOWED_HOSTS": "*", + "DJANGO_CORS_ORIGIN_WHITELIST": "https://local.crisiscleanup.io,https://app.local.crisiscleanup.io", "DJANGO_CSRF_COOKIE_SECURE": "true", + "DJANGO_CSRF_TRUSTED_ORIGINS": "https://local.crisiscleanup.io,https://app.local.crisiscleanup.io", "DJANGO_EMAIL_BACKEND": "django.core.mail.backends.dummy.EmailBackend", "DJANGO_SECURE_SSL_REDIRECT": "false", "DJANGO_SESSION_COOKIE_SECURE": "true", @@ -3534,7 +3538,9 @@ exports[`CrisisCleanupChart: 'with sync' > config matches snapshot > with sync-c "CONNECT_INSTANCE_ID": "", "DJANGO_ACCOUNT_ALLOW_REGISTRATION": "true", "DJANGO_ALLOWED_HOSTS": "*", + "DJANGO_CORS_ORIGIN_WHITELIST": "https://local.crisiscleanup.io,https://app.local.crisiscleanup.io", "DJANGO_CSRF_COOKIE_SECURE": "true", + "DJANGO_CSRF_TRUSTED_ORIGINS": "https://local.crisiscleanup.io,https://app.local.crisiscleanup.io", "DJANGO_EMAIL_BACKEND": "django.core.mail.backends.dummy.EmailBackend", "DJANGO_SECURE_SSL_REDIRECT": "false", "DJANGO_SESSION_COOKIE_SECURE": "true", diff --git a/packages/stacks/api/test/__snapshots__/main.spec.ts.snap b/packages/stacks/api/test/__snapshots__/main.spec.ts.snap index 0bb49b75..35d8cc29 100644 --- a/packages/stacks/api/test/__snapshots__/main.spec.ts.snap +++ b/packages/stacks/api/test/__snapshots__/main.spec.ts.snap @@ -2578,7 +2578,7 @@ exports[`Snapshot 1`] = ` "ClusterName": { "Ref": "teststackF0A1F222", }, - "Manifest": "[{\\"apiVersion\\":\\"v1\\",\\"kind\\":\\"ConfigMap\\",\\"metadata\\":{\\"labels\\":{\\"aws.cdk.eks/prune-c894922d745398f980bcd5bcaf0491f9bf2732dc69\\":\\"\\",\\"app.kubernetes.io/component\\":\\"config\\",\\"app.kubernetes.io/part-of\\":\\"crisiscleanup\\"},\\"name\\":\\"crisiscleanup-config-api-config\\",\\"namespace\\":\\"local\\"},\\"data\\":{\\"CCU_API_URL\\":\\"https://api.local.crisiscleanup.io\\",\\"CCU_FORCE_DOCKER\\":\\"true\\",\\"CCU_NEWRELIC_DISABLE\\":\\"true\\",\\"CCU_WEB_URL\\":\\"https://local.crisiscleanup.io\\",\\"CELERY_ALWAYS_EAGER\\":\\"false\\",\\"CONNECT_INSTANCE_ID\\":\\"\\",\\"DJANGO_ACCOUNT_ALLOW_REGISTRATION\\":\\"true\\",\\"DJANGO_ALLOWED_HOSTS\\":\\"*\\",\\"DJANGO_CSRF_COOKIE_SECURE\\":\\"true\\",\\"DJANGO_EMAIL_BACKEND\\":\\"django.core.mail.backends.dummy.EmailBackend\\",\\"DJANGO_SECURE_SSL_REDIRECT\\":\\"false\\",\\"DJANGO_SESSION_COOKIE_SECURE\\":\\"true\\",\\"DJANGO_SETTINGS_MODULE\\":\\"config.settings.local\\",\\"ELASTIC_SEARCH_HOST\\":\\"\\",\\"NEW_RELIC_CONFIG_FILE\\":\\"/app/newrelic.ini\\",\\"PHONE_CHECK_TIMEZONE\\":\\"true\\",\\"SENTRY_TRACE_EXCLUDE_URLS\\":\\"/,/health,/health/,/ws/health,/ws/health/,/version,/version/,/{var}health/,/{var}version/\\"},\\"immutable\\":false}]", + "Manifest": "[{\\"apiVersion\\":\\"v1\\",\\"kind\\":\\"ConfigMap\\",\\"metadata\\":{\\"labels\\":{\\"aws.cdk.eks/prune-c894922d745398f980bcd5bcaf0491f9bf2732dc69\\":\\"\\",\\"app.kubernetes.io/component\\":\\"config\\",\\"app.kubernetes.io/part-of\\":\\"crisiscleanup\\"},\\"name\\":\\"crisiscleanup-config-api-config\\",\\"namespace\\":\\"local\\"},\\"data\\":{\\"CCU_API_URL\\":\\"https://api.local.crisiscleanup.io\\",\\"CCU_FORCE_DOCKER\\":\\"true\\",\\"CCU_NEWRELIC_DISABLE\\":\\"true\\",\\"CCU_WEB_URL\\":\\"https://local.crisiscleanup.io\\",\\"CELERY_ALWAYS_EAGER\\":\\"false\\",\\"CONNECT_INSTANCE_ID\\":\\"\\",\\"DJANGO_ACCOUNT_ALLOW_REGISTRATION\\":\\"true\\",\\"DJANGO_ALLOWED_HOSTS\\":\\"*\\",\\"DJANGO_CORS_ORIGIN_WHITELIST\\":\\"https://local.crisiscleanup.io,https://app.local.crisiscleanup.io\\",\\"DJANGO_CSRF_COOKIE_SECURE\\":\\"true\\",\\"DJANGO_CSRF_TRUSTED_ORIGINS\\":\\"https://local.crisiscleanup.io,https://app.local.crisiscleanup.io\\",\\"DJANGO_EMAIL_BACKEND\\":\\"django.core.mail.backends.dummy.EmailBackend\\",\\"DJANGO_SECURE_SSL_REDIRECT\\":\\"false\\",\\"DJANGO_SESSION_COOKIE_SECURE\\":\\"true\\",\\"DJANGO_SETTINGS_MODULE\\":\\"config.settings.local\\",\\"ELASTIC_SEARCH_HOST\\":\\"\\",\\"NEW_RELIC_CONFIG_FILE\\":\\"/app/newrelic.ini\\",\\"PHONE_CHECK_TIMEZONE\\":\\"true\\",\\"SENTRY_TRACE_EXCLUDE_URLS\\":\\"/,/health,/health/,/ws/health,/ws/health/,/version,/version/,/{var}health/,/{var}version/\\"},\\"immutable\\":false}]", "PruneLabel": "aws.cdk.eks/prune-c894922d745398f980bcd5bcaf0491f9bf2732dc69", "RoleArn": { "Fn::GetAtt": [