fix: use the right range function

Signed-off-by: irizzant <i.rizzante@gmail.com>
This commit is contained in:
irizzant 2024-03-07 21:24:09 +00:00
parent d12184a29f
commit dfdc778d01
6 changed files with 6 additions and 8 deletions

View file

@ -19,5 +19,3 @@ annotations:
artifacthub.io/changes: |
- kind: added
description: make the chart use maps instead of lists
- kind: added
description: Support Template Patch to ApplicationSet

View file

@ -1,4 +1,4 @@
{{- range $k, $v := .Values.applications }}
{{- range $k, _:= .Values.applications }}
---
apiVersion: argoproj.io/v1alpha1
kind: Application

View file

@ -1,5 +1,5 @@
{{- range $k, $v := .Values.applicationsets }}
{{- range $k, _:= .Values.applicationsets }}
---
apiVersion: argoproj.io/v1alpha1
kind: ApplicationSet

View file

@ -1,4 +1,4 @@
{{- range $k, $v := .Values.extensions }}
{{- range $k, _:= .Values.extensions }}
---
apiVersion: argoproj.io/v1alpha1
kind: ArgoCDExtension

View file

@ -1,4 +1,4 @@
{{- range $k, $v := .Values.itemTemplates }}
{{- range $k, _:= .Values.itemTemplates }}
{{- if kindIs "string" .template }}
{{- $template := .template -}}
{{- range .items }}

View file

@ -1,4 +1,4 @@
{{- range $k, $v := .Values.projects }}
{{- range $k, _:= .Values.projects }}
---
apiVersion: argoproj.io/v1alpha1
kind: AppProject