feat(argo-events): allow extraObjects to contain string template (#1994)
[argo-event] allow extraObjects to contain string template Signed-off-by: Cyril Jouve <jv.cyril@gmail.com> Co-authored-by: Jason Meridth <jmeridth@gmail.com>
This commit is contained in:
parent
6cf01708d3
commit
430aaea83c
2 changed files with 8 additions and 4 deletions
|
@ -2,7 +2,7 @@ apiVersion: v2
|
||||||
appVersion: v1.7.6
|
appVersion: v1.7.6
|
||||||
description: A Helm chart for Argo Events, the event-driven workflow automation framework
|
description: A Helm chart for Argo Events, the event-driven workflow automation framework
|
||||||
name: argo-events
|
name: argo-events
|
||||||
version: 2.2.0
|
version: 2.3.0
|
||||||
home: https://github.com/argoproj/argo-helm
|
home: https://github.com/argoproj/argo-helm
|
||||||
icon: https://argoproj.github.io/argo-events/assets/logo.png
|
icon: https://argoproj.github.io/argo-events/assets/logo.png
|
||||||
keywords:
|
keywords:
|
||||||
|
@ -15,5 +15,5 @@ maintainers:
|
||||||
url: https://argoproj.github.io/
|
url: https://argoproj.github.io/
|
||||||
annotations:
|
annotations:
|
||||||
artifacthub.io/changes: |
|
artifacthub.io/changes: |
|
||||||
- kind: fixed
|
- kind: added
|
||||||
description: add namespace field for namespace scoped resources
|
description: Allow extraObjects to contain string templates
|
||||||
|
|
|
@ -1,4 +1,8 @@
|
||||||
{{ range .Values.extraObjects }}
|
{{ range .Values.extraObjects }}
|
||||||
---
|
---
|
||||||
{{ tpl (toYaml .) $ }}
|
{{- if typeIs "string" . }}
|
||||||
|
{{- tpl . $ }}
|
||||||
|
{{- else }}
|
||||||
|
{{- tpl (toYaml .) $ }}
|
||||||
|
{{- end }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
Loading…
Reference in a new issue