mirror of
https://github.com/OneUptime/oneuptime
synced 2024-11-22 15:24:55 +00:00
Fix nodeSelector condition in probe.yaml to prioritize local variable over global value
This commit is contained in:
parent
7b02c6dd44
commit
e5dcec62fc
@ -35,7 +35,9 @@ spec:
|
|||||||
{{- if $.Values.tolerations }}
|
{{- if $.Values.tolerations }}
|
||||||
tolerations: {{- $.Values.tolerations | toYaml | nindent 8 }}
|
tolerations: {{- $.Values.tolerations | toYaml | nindent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- if $.Values.nodeSelector }}
|
{{- if $val.nodeSelector }}
|
||||||
|
nodeSelector: {{- $val.nodeSelector | toYaml | nindent 8 }}
|
||||||
|
{{- else if $.Values.nodeSelector }}
|
||||||
nodeSelector: {{- $.Values.nodeSelector | toYaml | nindent 8 }}
|
nodeSelector: {{- $.Values.nodeSelector | toYaml | nindent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
containers:
|
containers:
|
||||||
|
Loading…
Reference in New Issue
Block a user