diff --git a/argocd-nginx/base/argocd-ingress.yaml b/argocd-nginx/base/argocd-ingress.yaml index 63e50ff..56a38f4 100644 --- a/argocd-nginx/base/argocd-ingress.yaml +++ b/argocd-nginx/base/argocd-ingress.yaml @@ -5,14 +5,22 @@ metadata: namespace: argocd annotations: cert-manager.io/cluster-issuer: "letsencrypt" + acme.cert-manager.io/http01-ingress-class: nginx + acme.cert-manager.io/http01-edit-in-place: "false" + nginx.ingress.kubernetes.io/from-to-www-redirect: "false" spec: + defaultBackend: + service: + name: argocd-server + port: + number: 80 ingressClassName: nginx tls: - hosts: - - argocd.streams.sunet.se + - argocd-test.streams.sunet.se secretName: tls-secret rules: - - host: argocd.streams.sunet.se + - host: argocd-test.streams.sunet.se http: paths: - path: / @@ -21,4 +29,4 @@ spec: service: name: argocd-server port: - name: https + number: 80