We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e969f8b commit 0aaf7b3Copy full SHA for 0aaf7b3
charts/latest/blob-csi-driver-v1.24.6.tgz
-1 Bytes
charts/latest/blob-csi-driver/templates/csi-blob-controller.yaml
@@ -37,10 +37,10 @@ spec:
37
nodeSelector:
38
kubernetes.io/os: linux
39
# runOnControlPlane=true or runOnMaster=true only takes effect if affinity is not set
40
- {{- if contains (tpl "{{ .Values.controller.affinity }}" .) "nodeSelectorTerms" }}
+ {{- if tpl "{{ .Values.controller.affinity }}" . | contains "nodeSelectorTerms" }}
41
{{- with .Values.controller.affinity }}
42
affinity:
43
- {{ toYaml . | indent 8 }}
+{{ toYaml . | indent 8 }}
44
{{- end }}
45
{{- else if or .Values.controller.runOnControlPlane .Values.controller.runOnMaster}}
46
0 commit comments