From 241b97e9b5791e7dc6b5b440439b4fdb92d8aca1 Mon Sep 17 00:00:00 2001 From: DeveloperDurp Date: Mon, 26 Sep 2022 15:56:33 +0000 Subject: [PATCH] Update argocd/argocd/ingress.yaml --- argocd/argocd/ingress.yaml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 argocd/argocd/ingress.yaml diff --git a/argocd/argocd/ingress.yaml b/argocd/argocd/ingress.yaml new file mode 100644 index 0000000..7ce836b --- /dev/null +++ b/argocd/argocd/ingress.yaml @@ -0,0 +1,27 @@ +apiVersion: networking.k8s.io/v1 +kind: Ingress +metadata: + name: argocd-ingress + annotations: + kubernetes.io/ingress.class: nginx + cert-manager.io/cluster-issuer: letsencrypt-production + nginx.ingress.kubernetes.io/backend-protocol: "HTTPS" + nginx.ingress.kubernetes.io/auth-response-headers: Authorization + nginx.ingress.kubernetes.io/auth-url: http://oauth2-proxy.oauth2-proxy.svc.cluster.local/oauth2/auth + nginx.ingress.kubernetes.io/auth-signin: https://oauth.durp.info/oauth2/start?rd=https://$host$request_uri$is_args$args +spec: + rules: + - host: argocd.durp.info + http: + paths: + - path: / + pathType: Prefix + backend: + service: + name: argocd-server + port: + number: 443 + tls: + - hosts: + - argocd.durp.info + secretName: argocd-tls