From 06f9c711c179d47118c9982be818ed0fca488ab6 Mon Sep 17 00:00:00 2001 From: irizzant Date: Fri, 8 Mar 2024 15:30:48 +0000 Subject: [PATCH] fix(argocd-apps): fix issues Signed-off-by: irizzant --- charts/argocd-apps/Chart.yaml | 2 +- charts/argocd-apps/templates/applications.yaml | 2 +- charts/argocd-apps/templates/item-templates.yaml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/charts/argocd-apps/Chart.yaml b/charts/argocd-apps/Chart.yaml index 42485260..397e9db6 100644 --- a/charts/argocd-apps/Chart.yaml +++ b/charts/argocd-apps/Chart.yaml @@ -18,4 +18,4 @@ annotations: url: https://argoproj.github.io/argo-helm/pgp_keys.asc artifacthub.io/changes: | - kind: added - description: make the chart use maps instead of lists \ No newline at end of file + description: make the chart use maps instead of lists diff --git a/charts/argocd-apps/templates/applications.yaml b/charts/argocd-apps/templates/applications.yaml index 70b1a2f2..31173a67 100644 --- a/charts/argocd-apps/templates/applications.yaml +++ b/charts/argocd-apps/templates/applications.yaml @@ -1,4 +1,4 @@ -{{- range $k, _:= .Values.applications }} +{{- range $k, $v:= .Values.applications }} --- apiVersion: argoproj.io/v1alpha1 kind: Application diff --git a/charts/argocd-apps/templates/item-templates.yaml b/charts/argocd-apps/templates/item-templates.yaml index 42cba367..9db08c78 100644 --- a/charts/argocd-apps/templates/item-templates.yaml +++ b/charts/argocd-apps/templates/item-templates.yaml @@ -1,4 +1,4 @@ -{{- range $k, _:= .Values.itemTemplates }} +{{- range _, _:= .Values.itemTemplates }} {{- if kindIs "string" .template }} {{- $template := .template -}} {{- range .items }}