19 lines
473 B
YAML
19 lines
473 B
YAML
{{- if .Values.extraObjects -}}
|
|
{{- $extraObjects := .Values.extraObjects -}}
|
|
|
|
{{- if kindIs "map" $extraObjects -}}
|
|
{{- $extraObjects = values $extraObjects -}}
|
|
{{- end -}}
|
|
|
|
{{- range $index, $object := $extraObjects -}}
|
|
{{- if $object }}
|
|
---
|
|
{{- if kindIs "string" $object -}}
|
|
{{- tpl $object $ | nindent 0 -}}
|
|
{{- else -}}
|
|
{{- tpl (toYaml $object) $ | nindent 0 -}}
|
|
{{- end -}}
|
|
{{- end -}}
|
|
{{- end -}}
|
|
{{- end -}}
|