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>
This commit is contained in:
parent
2197c8e040
commit
e980b71b83
2 changed files with 8 additions and 4 deletions
|
@ -3,7 +3,7 @@ appVersion: v2.7.1
|
|||
kubeVersion: ">=1.22.0-0"
|
||||
description: A Helm chart for Argo CD, a declarative, GitOps continuous delivery tool for Kubernetes.
|
||||
name: argo-cd
|
||||
version: 5.31.1
|
||||
version: 5.32.0
|
||||
home: https://github.com/argoproj/argo-helm
|
||||
icon: https://argo-cd.readthedocs.io/en/stable/assets/logo.png
|
||||
sources:
|
||||
|
@ -23,5 +23,5 @@ dependencies:
|
|||
condition: redis-ha.enabled
|
||||
annotations:
|
||||
artifacthub.io/changes: |
|
||||
- kind: changed
|
||||
description: Update Argo CD v2.7.1
|
||||
- kind: added
|
||||
description: Allow extraObjects to contain string templates
|
||||
|
|
|
@ -1,4 +1,8 @@
|
|||
{{ range .Values.extraObjects }}
|
||||
---
|
||||
{{ tpl (toYaml .) $ }}
|
||||
{{- if typeIs "string" . }}
|
||||
{{- tpl . $ }}
|
||||
{{- else }}
|
||||
{{- tpl (toYaml .) $ }}
|
||||
{{- end }}
|
||||
{{ end }}
|
||||
|
|
Loading…
Reference in a new issue