From 69a435efb3f5527ffcb6c717c56f76c54ed9b8f2 Mon Sep 17 00:00:00 2001 From: Sridhar Gaddam Date: Fri, 8 Jan 2021 18:41:49 +0530 Subject: [PATCH] Update GatewayEngine Pod env with the host nodeName Related to: https://github.com/submariner-io/submariner/issues/1068 Signed-Off-by: Sridhar Gaddam --- submariner/templates/engine-deploy.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/submariner/templates/engine-deploy.yaml b/submariner/templates/engine-deploy.yaml index 17352a4..a58747c 100644 --- a/submariner/templates/engine-deploy.yaml +++ b/submariner/templates/engine-deploy.yaml @@ -108,6 +108,10 @@ spec: value: "{{ .Values.leadership.renewDeadline }}" - name: LEADERSHIP_RETRYPERIOD value: "{{ .Values.leadership.retryPeriod }}" + - name: NODE_NAME + valueFrom: + fieldRef: + fieldPath: "spec.nodeName" image: {{ .Values.engine.image.repository }}:{{ default .Chart.AppVersion .Values.engine.image.tag }} imagePullPolicy: {{ .Values.engine.image.pullPolicy }} name: submariner