We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7691e0e commit 38e03c2Copy full SHA for 38e03c2
charts/v1.17.0/csi-driver-smb-v1.17.0.tgz
-3 Bytes
charts/v1.17.0/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