Skip to content

Commit

Permalink
yaml changes
Browse files Browse the repository at this point in the history
  • Loading branch information
AmitRoushan committed Aug 18, 2021
1 parent 683c321 commit da9091e
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 0 deletions.
5 changes: 5 additions & 0 deletions yamls/deploy/huawei-csi-controller.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,11 @@ spec:
env:
- name: CSI_ENDPOINT
value: /var/lib/csi/sockets/pluginproxy/csi.sock
- name: CSI_ESDK_NODENAME
valueFrom:
fieldRef:
apiVersion: v1
fieldPath: spec.nodeName
imagePullPolicy: "IfNotPresent"
volumeMounts:
- name: socket-dir
Expand Down
6 changes: 6 additions & 0 deletions yamls/deploy/huawei-csi-node.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,12 @@ spec:
- "--containerized"
- "--driver-name=csi.huawei.com"
- "--volume-use-multipath=true"
env:
- name: CSI_ESDK_NODENAME
valueFrom:
fieldRef:
apiVersion: v1
fieldPath: spec.nodeName
securityContext:
privileged: true
capabilities:
Expand Down
5 changes: 5 additions & 0 deletions yamls/deploy/huawei-csi-resize-controller.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,11 @@ spec:
env:
- name: CSI_ENDPOINT
value: /var/lib/csi/sockets/pluginproxy/csi.sock
- name: CSI_ESDK_NODENAME
valueFrom:
fieldRef:
apiVersion: v1
fieldPath: spec.nodeName
imagePullPolicy: "IfNotPresent"
volumeMounts:
- name: socket-dir
Expand Down
5 changes: 5 additions & 0 deletions yamls/deploy/huawei-csi-resize-snapshot-controller.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,11 @@ spec:
env:
- name: CSI_ENDPOINT
value: /var/lib/csi/sockets/pluginproxy/csi.sock
- name: CSI_ESDK_NODENAME
valueFrom:
fieldRef:
apiVersion: v1
fieldPath: spec.nodeName
imagePullPolicy: "IfNotPresent"
volumeMounts:
- name: socket-dir
Expand Down

0 comments on commit da9091e

Please sign in to comment.