From d497edaf379157a354d49093396796ce0e5868f7 Mon Sep 17 00:00:00 2001 From: Juan Jimenez Date: Fri, 21 Jun 2024 18:37:29 +0100 Subject: [PATCH] use stringData for credentials Signed-off-by: Juan Jimenez --- charts/argo-cd/Chart.yaml | 4 +++- .../argocd-configs/repository-credentials-secret.yaml | 4 ++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/charts/argo-cd/Chart.yaml b/charts/argo-cd/Chart.yaml index 1d1b03af..223d147b 100644 --- a/charts/argo-cd/Chart.yaml +++ b/charts/argo-cd/Chart.yaml @@ -3,7 +3,7 @@ appVersion: v2.11.3 kubeVersion: ">=1.23.0-0" description: A Helm chart for Argo CD, a declarative, GitOps continuous delivery tool for Kubernetes. name: argo-cd -version: 7.2.0 +version: 7.2.1 home: https://github.com/argoproj/argo-helm icon: https://argo-cd.readthedocs.io/en/stable/assets/logo.png sources: @@ -26,6 +26,8 @@ annotations: fingerprint: 2B8F22F57260EFA67BE1C5824B11F800CD9D2252 url: https://argoproj.github.io/argo-helm/pgp_keys.asc artifacthub.io/changes: | + - kind: changed + description: Repository credentials Secret will use stringData to increase compatibility with plugins like helm-secrets - kind: removed description: Remove `server.certificate.secretName`, as the expected secret name is static (argocd-server-tls) - kind: removed diff --git a/charts/argo-cd/templates/argocd-configs/repository-credentials-secret.yaml b/charts/argo-cd/templates/argocd-configs/repository-credentials-secret.yaml index ed1d2fd7..70e612fc 100644 --- a/charts/argo-cd/templates/argocd-configs/repository-credentials-secret.yaml +++ b/charts/argo-cd/templates/argocd-configs/repository-credentials-secret.yaml @@ -14,8 +14,8 @@ metadata: {{ $key }}: {{ $value | quote }} {{- end }} {{- end }} -data: +stringData: {{- range $key, $value := $repo_cred_value }} - {{ $key }}: {{ $value | toString | b64enc }} + {{ $key }}: {{ $value | toString }} {{- end }} {{- end }}