Our content security policy in non-dev environments didn't allow uploading to azure blob storage. This adds a configurable blob storage base URL to allow regions to specify which storage endpoint they expect the upload request to use.
21 lines
575 B
YAML
21 lines
575 B
YAML
---
|
|
apiVersion: v1
|
|
kind: ConfigMap
|
|
metadata:
|
|
name: atst-envvars
|
|
namespace: atat
|
|
data:
|
|
ASSETS_URL: https://atat-cdn.azureedge.net/
|
|
BLOB_STORAGE_URL: https://atat.blob.core.windows.net/
|
|
CELERY_DEFAULT_QUEUE: celery-master
|
|
CDN_ORIGIN: https://azure.atat.code.mil
|
|
CSP: azure
|
|
FLASK_ENV: dev
|
|
LOG_JSON: "true"
|
|
OVERRIDE_CONFIG_FULLPATH: /opt/atat/atst/atst-overrides.ini
|
|
PGSSLMODE: verify-full
|
|
PGSSLROOTCERT: /opt/atat/atst/ssl/pgsslrootcert.crt
|
|
STATIC_URL: https://atat-cdn.azureedge.net/static/
|
|
TZ: UTC
|
|
UWSGI_CONFIG_FULLPATH: /opt/atat/atst/uwsgi.ini
|