Skip to content

Commit 3ae75b7

Browse files
committed
fix: Add required env variable to spectrum-x-flowcontroller pod
Signed-off-by: Ivan Kolodiazhnyi <[email protected]>
1 parent 1f81bf4 commit 3ae75b7

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

manifests/state-spectrum-x-operator/0050-flowcontroller-ds.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,15 @@ spec:
4545
- --health-probe-bind-address=:8084
4646
image: {{ imagePath .CrSpec.Repository .CrSpec.Image .CrSpec.Version }}
4747
name: spectrum-x-flowcontroller
48+
env:
49+
- name: POD_NAMESPACE
50+
valueFrom:
51+
fieldRef:
52+
fieldPath: metadata.namespace
53+
- name: NODE_NAME
54+
valueFrom:
55+
fieldRef:
56+
fieldPath: spec.nodeName
4857
securityContext:
4958
privileged: true
5059
runAsUser: 0

0 commit comments

Comments
 (0)