Make supervisor more consistent

Configs go in /etc, sockets in /var/run/supervisor for all invocations.
This commit is contained in:
Bill Nottingham
2020-05-28 17:38:16 -04:00
parent ec2c121762
commit 559d917184
10 changed files with 31 additions and 21 deletions

View File

@@ -144,12 +144,12 @@ spec:
readOnly: true
- name: {{ kubernetes_deployment_name }}-supervisor-web-config
mountPath: "/supervisor.conf"
mountPath: "/etc/supervisord.conf"
subPath: supervisor.conf
readOnly: true
- name: {{ kubernetes_deployment_name }}-supervisor-task-config
mountPath: "/supervisor_task.conf"
mountPath: "/etc/supervisord_task.conf"
subPath: supervisor_task.conf
readOnly: true
@@ -220,12 +220,12 @@ spec:
readOnly: true
- name: {{ kubernetes_deployment_name }}-supervisor-web-config
mountPath: "/supervisor.conf"
mountPath: "/etc/supervisord.conf"
subPath: supervisor.conf
readOnly: true
- name: {{ kubernetes_deployment_name }}-supervisor-task-config
mountPath: "/supervisor_task.conf"
mountPath: "/etc/supervisord_task.conf"
subPath: supervisor_task.conf
readOnly: true
@@ -241,7 +241,7 @@ spec:
mountPath: "/var/run/memcached"
env:
- name: SUPERVISOR_WEB_CONFIG_PATH
value: "/supervisor.conf"
value: "/etc/supervisord.conf"
- name: AWX_SKIP_MIGRATIONS
value: "1"
- name: MY_POD_UID