fix(argo-rollouts): fix helm lint error when extraObjects is defined (#2196)

fix(extra-manifests): fix helm lint error when extraObjecrts is defined

Signed-off-by: Grégory SANCHEZ <gregory.sanchez@icloud.com>
Co-authored-by: Jason Meridth <jmeridth@gmail.com>
This commit is contained in:
Grégory SANCHEZ 2023-08-01 11:07:17 +02:00 committed by GitHub
parent 4ebeac0d8c
commit 962342fe2a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View file

@ -2,7 +2,7 @@ apiVersion: v2
appVersion: v1.5.1 appVersion: v1.5.1
description: A Helm chart for Argo Rollouts description: A Helm chart for Argo Rollouts
name: argo-rollouts name: argo-rollouts
version: 2.31.2 version: 2.31.3
home: https://github.com/argoproj/argo-helm home: https://github.com/argoproj/argo-helm
icon: https://argoproj.github.io/argo-rollouts/assets/logo.png icon: https://argoproj.github.io/argo-rollouts/assets/logo.png
keywords: keywords:
@ -19,4 +19,4 @@ annotations:
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: fixed - kind: fixed
description: Fix use prometheus metrics service 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 .) $ }}