diff --git a/roles/installer/templates/deployments/task.yaml.j2 b/roles/installer/templates/deployments/task.yaml.j2 index 830463dd..c9ac5bea 100644 --- a/roles/installer/templates/deployments/task.yaml.j2 +++ b/roles/installer/templates/deployments/task.yaml.j2 @@ -238,6 +238,8 @@ spec: - /var/lib/pre-stop/scripts/termination-master {% endif %} env: + - name: AWX_COMPONENT + value: "task" - name: SUPERVISOR_WEB_CONFIG_PATH value: "/etc/supervisord.conf" - name: AWX_SKIP_MIGRATIONS diff --git a/roles/installer/templates/deployments/web.yaml.j2 b/roles/installer/templates/deployments/web.yaml.j2 index 900a82e8..7fd205cc 100644 --- a/roles/installer/templates/deployments/web.yaml.j2 +++ b/roles/installer/templates/deployments/web.yaml.j2 @@ -180,6 +180,8 @@ spec: {{ web_extra_volume_mounts | indent(width=12, first=True) }} {% endif %} env: + - name: AWX_COMPONENT + value: "web" - name: MY_POD_NAMESPACE valueFrom: fieldRef: