Supplying this will prevent queue clashes between various ATAT sites sharing the same Redis instance. Note that the Celery documentation is currently wrong about the name for configuring this: https://docs.celeryproject.org/en/latest/userguide/configuration.html#std:setting-task_default_queue It specifies `CELERY_TASK_DEFAULT_QUEUE`, but `CELERY_DEFAULT_QUEUE` is the value that Celery currently looks for. This appears to be fixed in on an upcoming release: https://github.com/celery/celery/issues/5575 This is worth keeping an eye on, since the configuration key could change in the future.
17 lines
378 B
YAML
17 lines
378 B
YAML
---
|
|
apiVersion: v1
|
|
kind: ConfigMap
|
|
metadata:
|
|
name: atst-envvars
|
|
namespace: atat
|
|
data:
|
|
CSP: azure
|
|
CELERY_DEFAULT_QUEUE: celery-master
|
|
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
|
|
TZ: UTC
|
|
UWSGI_CONFIG_FULLPATH: /opt/atat/atst/uwsgi.ini
|