Add an extraObjects list to every chart which will allow user to extend each Helm chart with other data they need. It utilizes Helm's built in templating so they are able to include references to other variables like the conf to include data in their objects. Change-Id: I33431d50068bf135b28f6cbfc329ede9274d4bc9 Signed-off-by: Doug Goldstein <cardoe@cardoe.com>
9 lines
144 B
YAML
9 lines
144 B
YAML
{{ range .Values.extraObjects }}
|
|
---
|
|
{{ if typeIs "string" . }}
|
|
{{- tpl . $ }}
|
|
{{- else }}
|
|
{{- tpl (toYaml .) $ }}
|
|
{{- end }}
|
|
{{ end }}
|