Skip to content

Commit

Permalink
Add label to driver node pod for Resiliency protection (#89)
Browse files Browse the repository at this point in the history
  • Loading branch information
alikdell authored May 19, 2022
1 parent 4d29fc3 commit 4ea5ba2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion helm/csi-unity/templates/node.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,9 @@ spec:
metadata:
labels:
app: {{ .Release.Name }}-node
{{- if .Values.podmon.enabled }}
driver.dellemc.com: dell-storage
{{- end }}
spec:
serviceAccountName: {{ .Release.Name }}-node
{{- if .Values.node.nodeSelector }}
Expand Down Expand Up @@ -129,7 +132,6 @@ spec:
mountPropagation: "Bidirectional"
- name: dev
mountPath: /dev
mountPropagation: "Bidirectional"
- name: usr-bin
mountPath: /usr-bin
- name: var-run
Expand Down
4 changes: 3 additions & 1 deletion helm/csi-unity/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ podmon:
# allowed values - string
# default value : None
# Example : "podman:latest", "pod:latest"
image: dellemc/podmon:v1.1.0
image: dellemc/podmon:v1.2.0
# controller:
# args:
# - "--csisock=unix:/var/run/csi/csi.sock"
Expand All @@ -158,6 +158,7 @@ podmon:
# - "--mode=controller"
# - "--skipArrayConnectionValidation=false"
# - "--driver-config-params=/unity-config/driver-config-params.yaml"
# - "--driverPodLabelValue=dell-storage"
# node:
# args:
# - "--csisock=unix:/var/lib/kubelet/plugins/unity.emc.dell.com/csi_sock"
Expand All @@ -166,6 +167,7 @@ podmon:
# - "--mode=node"
# - "--leaderelection=false"
# - "--driver-config-params=/unity-config/driver-config-params.yaml"
# - "--driverPodLabelValue=dell-storage"

### The below parameters have been discontinued for configuration from secret.yaml and will have to be configured only in values.yaml

Expand Down

0 comments on commit 4ea5ba2

Please sign in to comment.