mirror of
https://github.com/ansible/awx-operator.git
synced 2026-05-08 22:33:35 +00:00
add AWX_COMPONENT env var
for awx to be able to identify which component it is running in code
This commit is contained in:
@@ -238,6 +238,8 @@ spec:
|
|||||||
- /var/lib/pre-stop/scripts/termination-master
|
- /var/lib/pre-stop/scripts/termination-master
|
||||||
{% endif %}
|
{% endif %}
|
||||||
env:
|
env:
|
||||||
|
- name: AWX_COMPONENT
|
||||||
|
value: "task"
|
||||||
- name: SUPERVISOR_WEB_CONFIG_PATH
|
- name: SUPERVISOR_WEB_CONFIG_PATH
|
||||||
value: "/etc/supervisord.conf"
|
value: "/etc/supervisord.conf"
|
||||||
- name: AWX_SKIP_MIGRATIONS
|
- name: AWX_SKIP_MIGRATIONS
|
||||||
|
|||||||
@@ -180,6 +180,8 @@ spec:
|
|||||||
{{ web_extra_volume_mounts | indent(width=12, first=True) }}
|
{{ web_extra_volume_mounts | indent(width=12, first=True) }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
env:
|
env:
|
||||||
|
- name: AWX_COMPONENT
|
||||||
|
value: "web"
|
||||||
- name: MY_POD_NAMESPACE
|
- name: MY_POD_NAMESPACE
|
||||||
valueFrom:
|
valueFrom:
|
||||||
fieldRef:
|
fieldRef:
|
||||||
|
|||||||
Reference in New Issue
Block a user