fix(argo-cd): Make REDIS_PASSWORD environment variables optional always (#2800)

This commit is contained in:
shlomi tubul 2024-06-29 00:52:17 +03:00 committed by GitHub
parent 171177ab77
commit 9cefbb3daf
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 6 additions and 6 deletions

View file

@ -205,9 +205,9 @@ spec:
valueFrom:
secretKeyRef:
name: {{ default "argocd-redis" .Values.externalRedis.existingSecret }}
optional: true
{{- if .Values.externalRedis.host }}
key: redis-password
optional: true
{{- else }}
key: auth
{{- end }}