From 0a5422f20a3853eb60614ec6c1028a85c330be49 Mon Sep 17 00:00:00 2001 From: Matthias Lisin <6209465+ml-@users.noreply.github.com> Date: Sun, 6 Mar 2022 16:53:46 +0100 Subject: [PATCH] fix(argo-cd): Quote clusterResources value to avoid invalid Secret manifest (#1160) Signed-off-by: Matthias Lisin --- charts/argo-cd/Chart.yaml | 4 ++-- charts/argo-cd/templates/argocd-configs/cluster-secrets.yaml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/charts/argo-cd/Chart.yaml b/charts/argo-cd/Chart.yaml index 4cbfff41..324de0b9 100644 --- a/charts/argo-cd/Chart.yaml +++ b/charts/argo-cd/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 appVersion: v2.2.5 description: A Helm chart for ArgoCD, a declarative, GitOps continuous delivery tool for Kubernetes. name: argo-cd -version: 3.35.1 +version: 3.35.2 home: https://github.com/argoproj/argo-helm icon: https://argo-cd.readthedocs.io/en/stable/assets/logo.png keywords: @@ -21,4 +21,4 @@ dependencies: condition: redis-ha.enabled annotations: artifacthub.io/changes: | - - "[Changed]: Use upstream entrypoint.sh for argocd-repo-server" + - "[Fixed]: Quote clusterResources value to avoid invalid Secret manifest" diff --git a/charts/argo-cd/templates/argocd-configs/cluster-secrets.yaml b/charts/argo-cd/templates/argocd-configs/cluster-secrets.yaml index a9f865da..fce3211e 100644 --- a/charts/argo-cd/templates/argocd-configs/cluster-secrets.yaml +++ b/charts/argo-cd/templates/argocd-configs/cluster-secrets.yaml @@ -23,7 +23,7 @@ stringData: {{- if .namespaces }} namespaces: {{ .namespaces }} {{- if .clusterResources }} - clusterResources: {{ .clusterResources }} + clusterResources: {{ .clusterResources | quote }} {{- end }} {{- end }} config: |