Skip to content

Commit 1a9aa38

Browse files
authored
chart(fix): node.lifecycle not being rendered from values file (#2420)
1 parent e61f20c commit 1a9aa38

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: charts/selenium-grid/templates/_helpers.tpl

+1-1
Original file line numberDiff line numberDiff line change
@@ -782,7 +782,7 @@ Get the lifecycle of the pod is used for a Node to deregister from the Hub/Route
782782
{{- $lifecycle = (tpl (toYaml (default ($defaultDeregisterLifecycle | fromYaml) .node.deregisterLifecycle) ) $ | fromYaml) | toYaml -}}
783783
{{- end -}}
784784
{{- end -}}
785-
{{- if not .node.lifecycle -}}
785+
{{- if .node.lifecycle -}}
786786
{{- $lifecycle = mergeOverwrite ($lifecycle | fromYaml) (tpl (toYaml .node.lifecycle) $ | fromYaml) | toYaml -}}
787787
{{- end -}}
788788
{{ if and $lifecycle (ne $lifecycle "{}") -}}

0 commit comments

Comments
 (0)