fix(argo-cd): use $ as context for repository secret labels (#904)

Signed-off-by: Raphaël Pinson <raphael.pinson@camptocamp.com>
This commit is contained in:
Raphaël Pinson 2021-08-26 17:10:49 +02:00 committed by GitHub
parent 1b7d63fde9
commit 93a74912dc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 5 deletions

View file

@ -2,7 +2,7 @@ apiVersion: v2
appVersion: 2.1.1
description: A Helm chart for ArgoCD, a declarative, GitOps continuous delivery tool for Kubernetes.
name: argo-cd
version: 3.17.2
version: 3.17.3
home: https://github.com/argoproj/argo-helm
icon: https://argoproj.github.io/argo-cd/assets/logo.png
keywords:
@ -21,5 +21,4 @@ dependencies:
condition: redis-ha.enabled
annotations:
artifacthub.io/changes: |
- "[Changed]: Upgrade argo-cd image to 2.1.1"
- "[Fixed]: Reenabling static assets for the argo-cd server"
- "[Fixed]: use $ as context for repository secret labels"

View file

@ -6,7 +6,7 @@ metadata:
name: argocd-repo-creds-{{ $repo_cred_key }}
labels:
argocd.argoproj.io/secret-type: repo-creds
{{- include "argo-cd.labels" (dict "context" .) | nindent 4 }}
{{- include "argo-cd.labels" (dict "context" $) | nindent 4 }}
data:
{{- range $key, $value := $repo_cred_value }}
{{ $key }}: {{ $value | toString | b64enc }}

View file

@ -6,7 +6,7 @@ metadata:
name: argocd-repo-{{ $repo_key }}
labels:
argocd.argoproj.io/secret-type: repository
{{- include "argo-cd.labels" (dict "context" .) | nindent 4 }}
{{- include "argo-cd.labels" (dict "context" $) | nindent 4 }}
data:
{{- range $key, $value := $repo_value }}
{{ $key }}: {{ $value | b64enc }}