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