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

@ -18,6 +18,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: added - kind: added
description: make the chart use maps instead of lists 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 apiVersion: argoproj.io/v1alpha1
kind: Application kind: Application

View file

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

View file

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

View file

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

View file

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