diff --git a/argocd/ingress.yaml b/argocd/ingress.yaml index 58f9718..1f74eb9 100644 --- a/argocd/ingress.yaml +++ b/argocd/ingress.yaml @@ -3,8 +3,13 @@ kind: Ingress metadata: name: argocd-server-ingress annotations: - nginx.ingress.kubernetes.io/rewrite-target: / + # nginx.ingress.kubernetes.io/rewrite-target: / cert-manager.io/cluster-issuer: prod-cluster-issuer + nginx.ingress.kubernetes.io/ssl-passthrough: "true" + # If you encounter a redirect loop or are getting a 307 response code + # then you need to force the nginx ingress to connect to the backend using HTTPS. + # + nginx.ingress.kubernetes.io/backend-protocol: "HTTPS" namespace: argocd spec: ingressClassName: nginx @@ -18,7 +23,7 @@ spec: service: name: argocd-server port: - name: http + name: https # TLS configuration for HTTPS tls: