From 218cb6c9deabc39cdf003ada3ebc7edfaf6fa1da Mon Sep 17 00:00:00 2001 From: Alex Lebens Date: Wed, 25 Feb 2026 17:03:38 -0600 Subject: [PATCH] fix: apply rule for routing --- clusters/cl01tl/helm/sonarr-4k/templates/middleware.yaml | 2 +- clusters/cl01tl/helm/sonarr-4k/values.yaml | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/clusters/cl01tl/helm/sonarr-4k/templates/middleware.yaml b/clusters/cl01tl/helm/sonarr-4k/templates/middleware.yaml index abbcf29a7..e6cd675f1 100644 --- a/clusters/cl01tl/helm/sonarr-4k/templates/middleware.yaml +++ b/clusters/cl01tl/helm/sonarr-4k/templates/middleware.yaml @@ -12,7 +12,7 @@ spec: address: http://ak-outpost-traefik-proxy-auth.authentik.svc.cluster.local:9000/outpost.goauthentik.io/auth/traefik trustForwardHeader: true authRequestHeaders: - - X-Forwarded-Proto + - X-Forwarded-Proto authResponseHeaders: - Set-Cookie - X-authentik-username diff --git a/clusters/cl01tl/helm/sonarr-4k/values.yaml b/clusters/cl01tl/helm/sonarr-4k/values.yaml index 0b4fd4410..d95fb7188 100644 --- a/clusters/cl01tl/helm/sonarr-4k/values.yaml +++ b/clusters/cl01tl/helm/sonarr-4k/values.yaml @@ -82,6 +82,14 @@ sonarr-4k: hostnames: - sonarr-4k.alexlebens.net rules: + - backendRefs: + - name: ak-outpost-traefik-proxy-auth + namespace: authentik + port: 9000 + matches: + - path: + type: PathPrefix + value: /outpost.goauthentik.io - backendRefs: - group: '' kind: Service