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

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

View file

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