Skip to content

Commit

Permalink
PowerFlex: Added env for kube node name (#426)
Browse files Browse the repository at this point in the history
* added env for kube node name

* adding env in test yaml
  • Loading branch information
suryagupta4 authored Jan 18, 2024
1 parent 111db0e commit 5793115
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 3 deletions.
7 changes: 6 additions & 1 deletion operatorconfig/driverconfig/powerflex/v2.7.0/node.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,11 @@ spec:
value: <X_CSI_RENAME_SDC_ENABLED>
- name: X_CSI_RENAME_SDC_PREFIX
value: <X_CSI_RENAME_SDC_PREFIX>
- name: X_CSI_POWERFLEX_KUBE_NODE_NAME
valueFrom:
fieldRef:
apiVersion: v1
fieldPath: spec.nodeName
volumeMounts:
- name: driver-path
mountPath: <KUBELET_CONFIG_DIR>/plugins/vxflexos.emc.dell.com
Expand Down Expand Up @@ -263,4 +268,4 @@ spec:
name: <DriverDefaultReleaseName>-certs-0
items:
- key: cert-0
path: cert-0
path: cert-0
7 changes: 6 additions & 1 deletion operatorconfig/driverconfig/powerflex/v2.8.0/node.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,11 @@ spec:
value: <X_CSI_RENAME_SDC_PREFIX>
- name: X_CSI_MAX_VOLUMES_PER_NODE
value: <X_CSI_MAX_VOLUMES_PER_NODE>
- name: X_CSI_POWERFLEX_KUBE_NODE_NAME
valueFrom:
fieldRef:
apiVersion: v1
fieldPath: spec.nodeName
volumeMounts:
- name: driver-path
mountPath: <KUBELET_CONFIG_DIR>/plugins/vxflexos.emc.dell.com
Expand Down Expand Up @@ -265,4 +270,4 @@ spec:
name: <DriverDefaultReleaseName>-certs-0
items:
- key: cert-0
path: cert-0
path: cert-0
5 changes: 5 additions & 0 deletions operatorconfig/driverconfig/powerflex/v2.9.0/node.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,11 @@ spec:
value: <X_CSI_RENAME_SDC_PREFIX>
- name: X_CSI_MAX_VOLUMES_PER_NODE
value: <X_CSI_MAX_VOLUMES_PER_NODE>
- name: X_CSI_POWERFLEX_KUBE_NODE_NAME
valueFrom:
fieldRef:
apiVersion: v1
fieldPath: spec.nodeName
volumeMounts:
- name: driver-path
mountPath: <KUBELET_CONFIG_DIR>/plugins/vxflexos.emc.dell.com
Expand Down
7 changes: 6 additions & 1 deletion tests/config/driverconfig/powerflex/v2.9.0/node.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,11 @@ spec:
value: <X_CSI_RENAME_SDC_PREFIX>
- name: X_CSI_MAX_VOLUMES_PER_NODE
value: <X_CSI_MAX_VOLUMES_PER_NODE>
- name: X_CSI_POWERFLEX_KUBE_NODE_NAME
valueFrom:
fieldRef:
apiVersion: v1
fieldPath: spec.nodeName
volumeMounts:
- name: driver-path
mountPath: <KUBELET_CONFIG_DIR>/plugins/vxflexos.emc.dell.com
Expand Down Expand Up @@ -265,4 +270,4 @@ spec:
name: <DriverDefaultReleaseName>-certs-0
items:
- key: cert-0
path: cert-0
path: cert-0

0 comments on commit 5793115

Please sign in to comment.