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:
parent
4ebeac0d8c
commit
962342fe2a
2 changed files with 3 additions and 3 deletions
|
@ -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
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{{ range .Values.extraObjects }}
|
{{ range .Values.extraObjects }}
|
||||||
---
|
---
|
||||||
{{- if typeIs "string" . }}
|
{{ if typeIs "string" . }}
|
||||||
{{- tpl . $ }}
|
{{- tpl . $ }}
|
||||||
{{- else }}
|
{{- else }}
|
||||||
{{- tpl (toYaml .) $ }}
|
{{- tpl (toYaml .) $ }}
|
||||||
|
|
Loading…
Reference in a new issue