mirror of
https://github.com/bitnami/charts.git
synced 2026-02-28 07:28:01 +08:00
extra manifests declared with the `extraDeploy` value used to be defined in a single List manifest. the issue with this setup, is that if you want to define a Job to be used as a Helm hook, it won't work - because Helm only look at top-level manifests to find the hook annotations. this PR changes the implementation of extra manifests, by rendering top-level manifests instead of wrapping them inside a List. charts users don't need to change anything in their values.yaml
5 lines
117 B
YAML
5 lines
117 B
YAML
{{- range .Values.extraDeploy }}
|
|
---
|
|
{{ include "common.tplvalues.render" (dict "value" . "context" $) }}
|
|
{{- end }}
|