You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Have a check in the helpers that prohibits this configuration, or if the configuration is valid, then have an {{- else -}} statement that will print the correct values for redis-ha without haproxy.
The text was updated successfully, but these errors were encountered:
Describe the bug
If redis-ha is deployed with haproxy disabled, the helper for the redis sentinel secrets will be blank.
Given these values:
This helper:
https://github.com/argoproj/argo-helm/blob/main/charts/argo-cd/templates/_helpers.tpl#L57-L60
Will print nothing, leaving deployments with blank secret names:
https://github.com/argoproj/argo-helm/blob/main/charts/argo-cd/templates/argocd-repo-server/deployment.yaml#L197
Is deploying redis-ha without haproxy supported?
Related helm chart
argo-cd
Helm chart version
7.7.5
To Reproduce
Set the above values.yaml and template the helm chart:
helm template -f values.yaml argo/argo-cd | grep REDIS_SENTINEL -A5
With this output:
Expected behavior
Have a check in the helpers that prohibits this configuration, or if the configuration is valid, then have an
{{- else -}}
statement that will print the correct values for redis-ha without haproxy.The text was updated successfully, but these errors were encountered: