https://issues.redhat.com/browse/GITOPS-720
https://github.com/argoproj-labs/argocd-operator/pull/647
E2E Test for HA scenario : https://gitlab.cee.redhat.com/gitops/operator-e2e/-/tree/validate_redis_secure_comm/gitops-operator/tests/parallel/1-060_validate_redis_secure_comm_autotls_ha
For a scenario with HA enabled:
apiVersion: argoproj.io/v1alpha1
kind: ArgoCD
metadata:
name: argocd
spec:
ha:
enabled: true
patch for enabling autotls should trigger creating argocd-operator-redis-tls secret
oc patch argocds.argoproj.io argocd --type=merge -p '{"spec":{"redis":{"autotls":"openshift"}}}'
But the secret doesn't get created.
The same works correctly for non-HA scenario (test)
Testes gitops operator build 1.6.0-18 on OCP 4.10 and 4.11.