Skip to content

Commit

Permalink
fix: incorrect affinity chart config
Browse files Browse the repository at this point in the history
  • Loading branch information
andyzhangx committed Feb 10, 2025
1 parent b94801d commit 5d6c8d3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Binary file modified charts/latest/blob-csi-driver-1.25.2.tgz
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,10 @@ spec:
nodeSelector:
kubernetes.io/os: linux
# 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 5d6c8d3

Please sign in to comment.