fix(argo-cd): Use correct Secret name for optional (external-)Redis auth (#3294)
parent
6e4a23f0ce
commit
7b21cf5f84
|
@ -3,7 +3,7 @@ appVersion: v3.0.0
|
|||
kubeVersion: ">=1.25.0-0"
|
||||
description: A Helm chart for Argo CD, a declarative, GitOps continuous delivery tool for Kubernetes.
|
||||
name: argo-cd
|
||||
version: 8.0.0
|
||||
version: 8.0.1
|
||||
home: https://github.com/argoproj/argo-helm
|
||||
icon: https://argo-cd.readthedocs.io/en/stable/assets/logo.png
|
||||
sources:
|
||||
|
@ -26,5 +26,5 @@ annotations:
|
|||
fingerprint: 2B8F22F57260EFA67BE1C5824B11F800CD9D2252
|
||||
url: https://argoproj.github.io/argo-helm/pgp_keys.asc
|
||||
artifacthub.io/changes: |
|
||||
- kind: changed
|
||||
description: Bump argo-cd to v3.0.0
|
||||
- kind: fixed
|
||||
description: Use correct Secret name for optional (external-)Redis authentication
|
||||
|
|
|
@ -280,12 +280,13 @@ ipFamilies: {{ toYaml . | nindent 4 }}
|
|||
secretKeyRef of env variable REDIS_USERNAME
|
||||
*/}}
|
||||
{{- define "argo-cd.redisUsernameSecretRef" -}}
|
||||
{{- if and .Values.externalRedis.host -}}
|
||||
name: {{ default (include "argo-cd.redis.fullname" .) .Values.externalRedis.existingSecret }}
|
||||
{{- if .Values.externalRedis.host -}}
|
||||
name: {{ default "argocd-redis" .Values.externalRedis.existingSecret }}
|
||||
key: redis-username
|
||||
optional: true
|
||||
optional: {{ if .Values.externalRedis.username }}false{{ else }}true{{ end }}
|
||||
|
||||
{{- else -}}
|
||||
name: {{ include "argo-cd.redis.fullname" . }}
|
||||
name: "argocd-redis"
|
||||
key: redis-username
|
||||
optional: true
|
||||
{{- end -}}
|
||||
|
|
Loading…
Reference in New Issue