elections: set GUNICORN_CMD_ARGS env var

Make gunicorn listen to all interfaces on port 8000 instead of
localhost only
This commit is contained in:
Francois Andrieu 2022-06-24 18:35:30 +02:00 committed by kevin
parent d6cfdd4028
commit c8f9feb792

View file

@ -44,6 +44,8 @@ spec:
env:
- name: KRB5_CONFIG
value: /etc/ipa/krb5.conf
- name: GUNICORN_CMD_ARGS
value: "--bind=0.0.0.0:8000"
volumeMounts:
- name: config-volume
mountPath: /opt/app-root/config/