Skip to content

Commit

Permalink
Add tolerations to CSI node DaemonSet
Browse files Browse the repository at this point in the history
Signed-off-by: v.oleynikov <[email protected]>
  • Loading branch information
duckhawk committed Oct 30, 2024
1 parent 53a574a commit 40e7e30
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/helm_lib/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
apiVersion: v2
type: library
name: deckhouse_lib_helm
version: 1.33.0
version: 1.34.0
description: "Helm utils template definitions for Deckhouse modules."
4 changes: 4 additions & 0 deletions charts/helm_lib/templates/_csi_node.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ memory: 25Mi
{{- $additionalNodeVolumes := $config.additionalNodeVolumes }}
{{- $additionalNodeVolumeMounts := $config.additionalNodeVolumeMounts }}
{{- $additionalNodeLivenessProbesCmd := $config.additionalNodeLivenessProbesCmd }}
{{- $additionalNodeSelectorTerms := $config.additionalNodeSelectorTerms }}
{{- $initContainerCommand := $config.initContainerCommand }}
{{- $initContainerImage := $config.initContainerImage }}
{{- $initContainerVolumeMounts := $config.initContainerVolumeMounts }}
Expand Down Expand Up @@ -93,6 +94,9 @@ spec:
{{- if or (eq $fullname "csi-node-rbd") (eq $fullname "csi-node-cephfs") (eq $fullname "csi-nfs") (eq $fullname "csi-yadro") }}
- Static
{{- end }}
{{- if $additionalNodeSelectorTerms }}
{{- $additionalNodeSelectorTerms | toYaml | nindent 14 }}
{{- end }}
imagePullSecrets:
- name: deckhouse-registry
{{- include "helm_lib_priority_class" (tuple $context "system-node-critical") | nindent 6 }}
Expand Down

0 comments on commit 40e7e30

Please sign in to comment.