k8s/helm-charts/dashy/charts/common/templates/lib/util/_stopAll.tpl
root 1eaf295724
Some checks failed
continuous-integration/drone/push Build is failing
new way of doin
2023-11-16 19:42:02 +10:00

17 lines
343 B
Smarty

{{- define "tc.v1.common.lib.util.stopAll" -}}
{{- $rootCtx := . -}}
{{- $stop := "" -}}
{{- if $rootCtx.Values.global.stopAll -}}
{{- $stop = true -}}
{{- end -}}
{{- with $rootCtx.Values.global.ixChartContext -}}
{{- if .isStopped -}}
{{- $stop = true -}}
{{- end -}}
{{- end -}}
{{- $stop -}}
{{- end -}}