diff --git a/argocd-nginx/overlays/test/argocd-ingress.yaml b/argocd-nginx/overlays/test/argocd-ingress.yaml index e5c2efb..804488e 100644 --- a/argocd-nginx/overlays/test/argocd-ingress.yaml +++ b/argocd-nginx/overlays/test/argocd-ingress.yaml @@ -1,19 +1,30 @@ -apiVersion: cert-manager.io/v1 -kind: Issuer +apiVersion: networking.k8s.io/v1 +kind: Ingress metadata: - name: letsencrypt + name: argocd-ingress + namespace: argocd + annotations: + cert-manager.io/issuer: "letsencrypt" + acme.cert-manager.io/http01-edit-in-place: "true" spec: - acme: - # The ACME server URL - server: https://acme-v02.api.letsencrypt.org/directory - # Email address used for ACME registration - email: drive@sunet.se - # Name of a secret used to store the ACME account private key - privateKeySecretRef: - name: letsencrypt - # Enable the HTTP-01 challenge provider - solvers: - - http01: - ingress: - name: argocd-ingress - + defaultBackend: + service: + name: argocd-server + port: + number: 80 + ingressClassName: nginx + tls: + - hosts: + - argocd-test.streams.sunet.se + secretName: argocd-tls-secret + rules: + - host: argocd-test.streams.sunet.se + http: + paths: + - path: / + pathType: Prefix + backend: + service: + name: argocd-server + port: + number: 80