File tree Expand file tree Collapse file tree 2 files changed +15
-13
lines changed
Expand file tree Collapse file tree 2 files changed +15
-13
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ appVersion: v2.14.9
33kubeVersion : " >=1.25.0-0"
44description : A Helm chart for Argo CD, a declarative, GitOps continuous delivery tool for Kubernetes.
55name : argo-cd
6- version : 7.8.22
6+ version : 7.8.23
77home : https://github.com/argoproj/argo-helm
88icon : https://argo-cd.readthedocs.io/en/stable/assets/logo.png
99sources :
@@ -26,5 +26,5 @@ annotations:
2626 fingerprint: 2B8F22F57260EFA67BE1C5824B11F800CD9D2252
2727 url: https://argoproj.github.io/argo-helm/pgp_keys.asc
2828 artifacthub.io/changes : |
29- - kind: changed
30- description: Bump argo-cd to v2.14.9
29+ - kind: fixed
30+ description: Secret for embedded Redis deployments now always uses the same name and key
Original file line number Diff line number Diff line change @@ -295,21 +295,23 @@ optional: true
295295secretKeyRef of env variable REDIS_PASSWORD
296296*/} }
297297{ {- define " argo-cd.redisPasswordSecretRef" -} }
298- { {- if and .Values.redisSecretInit.enabled (not .Values.externalRedis.host) -} }
298+ { {- if .Values.externalRedis.host -} }
299+ { {- /* External Redis use case */ -} }
300+ { {- /* Secret is required when specifying existingSecret or a password, otherwise it is optional */ -} }
301+ name: { { default " argocd-redis" .Values.externalRedis.existingSecret } }
302+ key: redis-password
303+ optional: { { if or .Values.externalRedis.existingSecret .Values.externalRedis.password } }false{ { else } }true{ { end } }
304+
305+ { {- else if and .Values.redisSecretInit.enabled -} }
299306 { {- /* Default case where Secret is generated by the Job with Helm pre-install hooks */ -} }
300- name: "argocd-redis" # hard-coded in Job command "argocd admin redis-initial-password"
307+ name: "argocd-redis" # hard-coded in Job command and embedded Redis deployments (standalone and redis-ha)
301308key: auth
302309optional: false # Secret is not optional in this case !
303- { {- else if .Values.externalRedis.host -} }
304- { {- /* External Redis use case */ -} }
305- { {- /* Secret is required when specifying existingSecret, otherwise it is optional */ -} }
306- name: { { default (include " argo-cd.redis.fullname" .) .Values.externalRedis.existingSecret } }
307- key: redis-password
308- optional: { { if .Values.externalRedis.existingSecret } }false{ { else } }true{ { end } }
310+
309311 { {- else -} }
310312 { {- /* All other use cases (e.g. disabled pre-install Job) */ -} }
311- name: { { include " argo-cd. redis.fullname " . } }
312- key: redis-password
313+ name: "argocd- redis"
314+ key: auth
313315optional: true
314316 { {- end -} }
315317{ {- end -} }
You can’t perform that action at this time.
0 commit comments