fix(radicale): rm auth-signin to only forward basic auth

This commit is contained in:
JJGadgets
2024-09-29 22:49:07 +08:00
parent 7a3158b565
commit 055b3ebaa5

View File

@@ -4,8 +4,6 @@ kind: HelmRelease
metadata:
name: &app radicale
namespace: *app
labels:
nginx.ingress.home.arpa/type: auth
spec:
interval: 5m
chart:
@@ -61,8 +59,13 @@ spec:
main:
className: nginx-internal
annotations:
nginx.ingress.kubernetes.io/auth-signin: |-
https://${APP_DNS_RADICALE}/outpost.goauthentik.io/start?rd=$escaped_request_uri
# nginx.ingress.kubernetes.io/auth-signin annotation not needed since we're only using the "Receiving HTTP basic auth" part of the authentik Proxy Provider which handles forward auth
nginx.ingress.kubernetes.io/auth-url: |-
http://authentik.authentik.svc.cluster.local:9000/outpost.goauthentik.io/auth/nginx
nginx.ingress.kubernetes.io/auth-response-headers: |-
Set-Cookie,X-Remote-User
nginx.ingress.kubernetes.io/auth-snippet: |
proxy_set_header X-Forwarded-Host $http_host;
hosts:
- host: &host "${APP_DNS_RADICALE:=radicale}"
paths: &paths