Closed aqeelat closed 3 months ago
This can be done by
{{/*
Renders a value that contains template.
Usage:
{{ include "chart.render" ( dict "value" .Values.path.to.the.Value "context" $) }}
https://github.com/minio/operator/blob/v5.0.16/helm/tenant/templates/_helpers.tpl
*/}}
{{- define "chart.render" -}}
{{- if typeIs "string" .value }}
{{- tpl .value .context }}
{{- else }}
{{- tpl (.value | toYaml) .context }}
{{- end }}
{{- end -}}
{{- range .Values.extraResources }}
---
{{- include "chart.render" (dict "value" . "context" $) }}
{{- end }}
extraResources: []
anywhere in values.yamlI created a PR for this in #49
Feature description
It would be really helpful if we can include additional resources in the chart so that they become associated with it and managed together as one helm release.
The current situation we're facing right now is that we have: