From f420b8c9bdecbfff69ceea1451bc1d9b39f6e247 Mon Sep 17 00:00:00 2001 From: Simon Emms Date: Wed, 13 Nov 2024 20:22:51 +0000 Subject: [PATCH] feat(homepage): add authentication to homepage --- registry/components/homepage/application.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/registry/components/homepage/application.yaml b/registry/components/homepage/application.yaml index 8c4e954..54f8bdd 100644 --- a/registry/components/homepage/application.yaml +++ b/registry/components/homepage/application.yaml @@ -25,6 +25,8 @@ spec: annotations: kubernetes.io/tls-acme: "true" cert-manager.io/cluster-issuer: letsencrypt + nginx.ingress.kubernetes.io/auth-url: https://$host/oauth2/auth + nginx.ingress.kubernetes.io/auth-signin: https://$host/oauth2/start?rd=$escaped_request_uri ingressClassName: nginx hosts: - host: homepage.simonemms.com