Skip to content

Commit 5126bed

Browse files
committed
Add CSI_NODE_NAME to node Daemonset
We added CSI_NODE_NAME as an environment variable to the Helm Chart's node Daemonset, but we forget to add it to our kustomize deploy files as well. This is required for users who have IMDS disabled on their cluster, and who install the driver using kustomize.
1 parent 398429b commit 5126bed

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

deploy/kubernetes/base/node-daemonset.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,10 @@ spec:
5757
env:
5858
- name: CSI_ENDPOINT
5959
value: unix:/csi/csi.sock
60+
- name: CSI_NODE_NAME
61+
valueFrom:
62+
fieldRef:
63+
fieldPath: spec.nodeName
6064
volumeMounts:
6165
- name: kubelet-dir
6266
mountPath: /var/lib/kubelet

0 commit comments

Comments
 (0)