From 12e51ad9ade3c66f2831c3a6fa18c552ece5aa56 Mon Sep 17 00:00:00 2001 From: Rick Elrod Date: Wed, 30 Nov 2022 03:37:13 -0600 Subject: [PATCH] add $MY_POD_IP back to web deployment Signed-off-by: Rick Elrod --- roles/installer/templates/deployments/web.yaml.j2 | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/roles/installer/templates/deployments/web.yaml.j2 b/roles/installer/templates/deployments/web.yaml.j2 index a868e27e..48da18fc 100644 --- a/roles/installer/templates/deployments/web.yaml.j2 +++ b/roles/installer/templates/deployments/web.yaml.j2 @@ -176,6 +176,10 @@ spec: valueFrom: fieldRef: fieldPath: metadata.namespace + - name: MY_POD_IP + valueFrom: + fieldRef: + fieldPath: status.podIP - name: UWSGI_MOUNT_PATH value: "{{ ingress_path }}" {% if development_mode | bool %}