fix(argo-cd): helm lint error when extraObjects is defined (#2116)

Fix helm lint error when `extraObjects` is defined

Signed-off-by: Patrick Li <patrick.li@foxtel.com.au>
This commit is contained in:
patrickli-foxtel 2023-06-20 10:05:25 +10:00 committed by GitHub
parent 68f24d146c
commit eb968668f8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View file

@ -1,6 +1,6 @@
{{ range .Values.extraObjects }}
---
{{- if typeIs "string" . }}
{{ if typeIs "string" . }}
{{- tpl . $ }}
{{- else }}
{{- tpl (toYaml .) $ }}