Skip to content

Commit

Permalink
fix: incorrect affinity chart config in v1.17.0 chart config
Browse files Browse the repository at this point in the history
  • Loading branch information
andyzhangx committed Feb 11, 2025
1 parent 7691e0e commit 38e03c2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Binary file modified charts/v1.17.0/csi-driver-smb-v1.17.0.tgz
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@ spec:
{{- end }}
spec:
# runOnControlPlane=true or runOnMaster=true only takes effect if affinity is not set
{{- if contains (tpl "{{ .Values.controller.affinity }}" .) "nodeSelectorTerms" }}
{{- if tpl "{{ .Values.controller.affinity }}" . | contains "nodeSelectorTerms" }}
{{- with .Values.controller.affinity }}
affinity:
{{ toYaml . | indent 8 }}
{{ toYaml . | indent 8 }}
{{- end }}
{{- else if or .Values.controller.runOnControlPlane .Values.controller.runOnMaster}}
affinity:
Expand Down

0 comments on commit 38e03c2

Please sign in to comment.