mirror of
https://github.com/OneUptime/oneuptime
synced 2024-11-22 07:10:53 +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 }}
|
||||
tolerations: {{- $.Values.tolerations | toYaml | nindent 8 }}
|
||||
{{- end }}
|
||||
{{- if $.Values.nodeSelector }}
|
||||
{{- if $val.nodeSelector }}
|
||||
nodeSelector: {{- $val.nodeSelector | toYaml | nindent 8 }}
|
||||
{{- else if $.Values.nodeSelector }}
|
||||
nodeSelector: {{- $.Values.nodeSelector | toYaml | nindent 8 }}
|
||||
{{- end }}
|
||||
containers:
|
||||
|
Loading…
Reference in New Issue
Block a user