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>
pull/2122/head argo-cd-5.36.3
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

@ -3,7 +3,7 @@ appVersion: v2.7.5
kubeVersion: ">=1.23.0-0"
description: A Helm chart for Argo CD, a declarative, GitOps continuous delivery tool for Kubernetes.
name: argo-cd
version: 5.36.2
version: 5.36.3
home: https://github.com/argoproj/argo-helm
icon: https://argo-cd.readthedocs.io/en/stable/assets/logo.png
sources:
@ -26,5 +26,5 @@ annotations:
fingerprint: 2B8F22F57260EFA67BE1C5824B11F800CD9D2252
url: https://argoproj.github.io/argo-helm/pgp_keys.asc
artifacthub.io/changes: |
- kind: changed
description: Upgrade Argo CD to v2.7.5
- kind: fixed
description: Fix helm lint error when `extraObjects` is defined

View File

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