From 5b40e46e494c5077317a8221628b72383950d269 Mon Sep 17 00:00:00 2001 From: Roke Jung Date: Wed, 19 Jun 2024 18:19:57 -0400 Subject: [PATCH] ACM-11310: additional env variables for hypershift addon manager (#774) Signed-off-by: Roke Jung --- .../templates/hypershift-addon-manager-deployment.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/pkg/templates/charts/toggle/hypershift/templates/hypershift-addon-manager-deployment.yaml b/pkg/templates/charts/toggle/hypershift/templates/hypershift-addon-manager-deployment.yaml index 49bdb5d38..6c274ff0a 100644 --- a/pkg/templates/charts/toggle/hypershift/templates/hypershift-addon-manager-deployment.yaml +++ b/pkg/templates/charts/toggle/hypershift/templates/hypershift-addon-manager-deployment.yaml @@ -81,6 +81,14 @@ spec: - '--namespace={{ .Values.global.namespace }}' - '--with-image-override=true' env: + - name: POD_NAME + valueFrom: + fieldRef: + fieldPath: metadata.name + - name: POD_NAMESPACE + valueFrom: + fieldRef: + fieldPath: metadata.namespace - name: HYPERSHIFT_OPERATOR_IMAGE_NAME value: '{{ .Values.global.imageOverrides.hypershift_operator }}' - name: HYPERSHIFT_ADDON_IMAGE_NAME