Skip to content

Commit b00bf67

Browse files
authored
Merge pull request #1124 from RyanStan/csi-node-name-kustomize
Add CSI_NODE_NAME to node Daemonset
2 parents 398429b + 5126bed commit b00bf67

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)