k8s/helm-charts/dashy/charts/common/templates/spawner/_extraTpl.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

14 lines
376 B
Smarty

{{- define "tc.v1.common.spawner.extraTpl" -}}
{{- range $item := .Values.extraTpl }}
{{- if not $item -}}
{{- fail "Extra tpl - Expected non-empty <extraTpl> item" -}}
{{- end }}
---
{{- if kindIs "string" $item }}
{{- tpl $item $ | nindent 0 }}
{{- else }}
{{- tpl ($item | toYaml) $ | nindent 0 }}
{{- end }}
{{- end }}
{{- end }}