From 9946eeb071090a8f080e2a44bef7dbbbc5a15009 Mon Sep 17 00:00:00 2001 From: Sridhar Gaddam Date: Thu, 24 Dec 2020 17:44:15 +0530 Subject: [PATCH] Update Globalnet Pod env with the host nodeName Related to: https://github.com/submariner-io/submariner/issues/970 Signed-Off-by: Sridhar Gaddam --- submariner/templates/globalnet.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/submariner/templates/globalnet.yaml b/submariner/templates/globalnet.yaml index 45e69a0..58a9e4c 100644 --- a/submariner/templates/globalnet.yaml +++ b/submariner/templates/globalnet.yaml @@ -39,6 +39,10 @@ spec: value: 'submariner-operator,kube-system,operators,openshift-monitoring,openshift-dns' - name: SUBMARINER_NAMESPACE value: '{{ .Release.Namespace }}' + - name: NODE_NAME + valueFrom: + fieldRef: + fieldPath: "spec.nodeName" securityContext: allowPrivilegeEscalation: true capabilities: