From 5ee1895d1959e454cdfed27120cf38bee12feaf1 Mon Sep 17 00:00:00 2001 From: DeveloperDurp Date: Sat, 12 Nov 2022 08:29:44 -0600 Subject: [PATCH] test --- longhorn-system/templates/ingress.yaml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/longhorn-system/templates/ingress.yaml b/longhorn-system/templates/ingress.yaml index 464e014..e5b694e 100644 --- a/longhorn-system/templates/ingress.yaml +++ b/longhorn-system/templates/ingress.yaml @@ -5,10 +5,14 @@ metadata: annotations: kubernetes.io/ingress.class: nginx cert-manager.io/cluster-issuer: letsencrypt-production - nginx.ingress.kubernetes.io/auth-url: http://ak-outpost-authentik-embedded-outpost.authentik.svc.cluster.local:9000/outpost.goauthentik.io/auth/nginx - nginx.ingress.kubernetes.io/auth-signin: https://longhorn.internal.durp.info//outpost.goauthentik.io/start?rd=$escaped_request_uri - nginx.ingress.kubernetes.io/auth-response-headers: Set-Cookie,X-authentik-username,X-authentik-groups,X-authentik-email,X-authentik-name,X-authentik-uid - nginx.ingress.kubernetes.io/auth-snippet: proxy_set_header X-Forwarded-Host $http_host; + nginx.ingress.kubernetes.io/auth-url: |- + http://ak-outpost-authentik-embedded-outpost.authentik.svc.cluster.local:9000/outpost.goauthentik.io/auth/nginx + nginx.ingress.kubernetes.io/auth-signin: |- + https://longhorn.internal.durp.info//outpost.goauthentik.io/start?rd=$escaped_request_uri + nginx.ingress.kubernetes.io/auth-response-headers: |- + Set-Cookie,X-authentik-username,X-authentik-groups,X-authentik-email,X-authentik-name,X-authentik-uid + nginx.ingress.kubernetes.io/auth-snippet: | + proxy_set_header X-Forwarded-Host $http_host; nginx.ingress.kubernetes.io/whitelist-source-range: "192.168.0.0/16" spec: rules: