File tree Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -25,10 +25,10 @@ spec:
2525{{- end }}
2626 spec :
2727 # runOnControlPlane=true or runOnMaster=true only takes effect if affinity is not set
28- {{- if contains ( tpl "{{ .Values.controller.affinity }}" .) "nodeSelectorTerms" }}
28+ {{- if tpl "{{ .Values.controller.affinity }}" . | contains "nodeSelectorTerms" }}
2929 {{- with .Values.controller.affinity }}
3030 affinity :
31- {{ toYaml . | indent 8 }}
31+ {{ toYaml . | indent 8 }}
3232 {{- end }}
3333 {{- else if or .Values.controller.runOnControlPlane .Values.controller.runOnMaster}}
3434 affinity :
Original file line number Diff line number Diff line change @@ -25,10 +25,10 @@ spec:
2525{{- end }}
2626 spec :
2727 # runOnControlPlane=true or runOnMaster=true only takes effect if affinity is not set
28- {{- if contains ( tpl "{{ .Values.controller.affinity }}" .) "nodeSelectorTerms" }}
28+ {{- if tpl "{{ .Values.controller.affinity }}" . | contains "nodeSelectorTerms" }}
2929 {{- with .Values.controller.affinity }}
3030 affinity :
31- {{ toYaml . | indent 8 }}
31+ {{ toYaml . | indent 8 }}
3232 {{- end }}
3333 {{- else if or .Values.controller.runOnControlPlane .Values.controller.runOnMaster}}
3434 affinity :
You can’t perform that action at this time.
0 commit comments