argocd-helm/charts/argo-cd/templates/extra-manifests.yaml
Cyril Jouve e980b71b83
feat(argo-cd): allow extraObjects to contain string template (#1993)
[argo-cd] allow extraObjects to contain string template

Signed-off-by: Cyril Jouve <jv.cyril@gmail.com>
Signed-off-by: Marco Kilchhofer <mkilchhofer@users.noreply.github.com>
Co-authored-by: Marco Kilchhofer <mkilchhofer@users.noreply.github.com>
2023-05-05 21:19:18 +01:00

8 lines
145 B
YAML

{{ range .Values.extraObjects }}
---
{{- if typeIs "string" . }}
{{- tpl . $ }}
{{- else }}
{{- tpl (toYaml .) $ }}
{{- end }}
{{ end }}