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.
14 lines
287 B
YAML
14 lines
287 B
YAML
---
|
|
apiVersion: v1
|
|
kind: ConfigMap
|
|
metadata:
|
|
name: atst-worker-envvars
|
|
namespace: atat
|
|
data:
|
|
CELERY_DEFAULT_QUEUE: celery-master
|
|
DISABLE_CRL_CHECK: "True"
|
|
PGSSLMODE: verify-full
|
|
PGSSLROOTCERT: /opt/atat/atst/ssl/pgsslrootcert.crt
|
|
SERVER_NAME: azure.atat.code.mil
|
|
TZ: UTC
|