We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3cf10b3 commit 7691e0eCopy full SHA for 7691e0e
charts/latest/csi-driver-smb-v0.0.0.tgz
-1 Bytes
charts/latest/csi-driver-smb/templates/csi-smb-controller.yaml
@@ -25,10 +25,10 @@ spec:
25
{{- end }}
26
spec:
27
# runOnControlPlane=true or runOnMaster=true only takes effect if affinity is not set
28
- {{- if contains (tpl "{{ .Values.controller.affinity }}" .) "nodeSelectorTerms" }}
+ {{- if tpl "{{ .Values.controller.affinity }}" . | contains "nodeSelectorTerms" }}
29
{{- with .Values.controller.affinity }}
30
affinity:
31
- {{ toYaml . | indent 8 }}
+{{ toYaml . | indent 8 }}
32
33
{{- else if or .Values.controller.runOnControlPlane .Values.controller.runOnMaster}}
34
0 commit comments