Skip to content

Commit 0aaf7b3

Browse files
committed
fix: incorrect affinity chart config
1 parent e969f8b commit 0aaf7b3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Diff for: charts/latest/blob-csi-driver-v1.24.6.tgz

-1 Bytes
Binary file not shown.

Diff for: charts/latest/blob-csi-driver/templates/csi-blob-controller.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,10 @@ spec:
3737
nodeSelector:
3838
kubernetes.io/os: linux
3939
# runOnControlPlane=true or runOnMaster=true only takes effect if affinity is not set
40-
{{- if contains (tpl "{{ .Values.controller.affinity }}" .) "nodeSelectorTerms" }}
40+
{{- if tpl "{{ .Values.controller.affinity }}" . | contains "nodeSelectorTerms" }}
4141
{{- with .Values.controller.affinity }}
4242
affinity:
43-
{{ toYaml . | indent 8 }}
43+
{{ toYaml . | indent 8 }}
4444
{{- end }}
4545
{{- else if or .Values.controller.runOnControlPlane .Values.controller.runOnMaster}}
4646
affinity:

0 commit comments

Comments
 (0)