Files
charts/bitnami/postgresql-ha/templates/extra-list.yaml
Vincent Behar b3a95b701b [bitnami/*] Extra manifests should be top-level (#4161)
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
2020-10-30 14:11:06 +01:00

5 lines
117 B
YAML

{{- range .Values.extraDeploy }}
---
{{ include "common.tplvalues.render" (dict "value" . "context" $) }}
{{- end }}