Skip to content

Commit

Permalink
chart(fix): node.lifecycle not being rendered from values file (#2420)
Browse files Browse the repository at this point in the history
  • Loading branch information
brunobritorj authored Oct 3, 2024
1 parent e61f20c commit 1a9aa38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion charts/selenium-grid/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -782,7 +782,7 @@ Get the lifecycle of the pod is used for a Node to deregister from the Hub/Route
{{- $lifecycle = (tpl (toYaml (default ($defaultDeregisterLifecycle | fromYaml) .node.deregisterLifecycle) ) $ | fromYaml) | toYaml -}}
{{- end -}}
{{- end -}}
{{- if not .node.lifecycle -}}
{{- if .node.lifecycle -}}
{{- $lifecycle = mergeOverwrite ($lifecycle | fromYaml) (tpl (toYaml .node.lifecycle) $ | fromYaml) | toYaml -}}
{{- end -}}
{{ if and $lifecycle (ne $lifecycle "{}") -}}
Expand Down

0 comments on commit 1a9aa38

Please sign in to comment.