Skip to content

Commit 5ef26e5

Browse files
committedFeb 16, 2025
test authentik proxy
1 parent 32ac2ef commit 5ef26e5

File tree

2 files changed

+15
-2
lines changed

2 files changed

+15
-2
lines changed
 

‎kubernetes/apps/production/arr/radarr/ingress.yaml

+9
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,15 @@ kind: Ingress
33
metadata:
44
name: radarr
55
namespace: arr
6+
annotations:
7+
nginx.ingress.kubernetes.io/auth-url: |-
8+
http://ak-outpost-authentik-embedded-outpost.authentik.svc.cluster.local:9000/outpost.goauthentik.io/auth/nginx
9+
nginx.ingress.kubernetes.io/auth-signin: |-
10+
https://radarr.local.mafyuh.dev/outpost.goauthentik.io/start?rd=$escaped_request_uri
11+
nginx.ingress.kubernetes.io/auth-response-headers: |-
12+
Set-Cookie,X-authentik-username,X-authentik-groups,X-authentik-email,X-authentik-name,X-authentik-uid
13+
nginx.ingress.kubernetes.io/auth-snippet: |
14+
proxy_set_header X-Forwarded-Host $http_host;
615
spec:
716
ingressClassName: nginx
817
rules:

‎kubernetes/apps/production/nginx/helmrelease.yaml

+6-2
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,9 @@ spec:
1616
namespace: flux-system
1717
values:
1818
controller:
19-
service:
20-
type: LoadBalancer
19+
allowSnippetAnnotations: "true"
20+
config:
21+
annotations-risk-level: "Critical"
22+
enable-annotation-validation: false
23+
service:
24+
type: LoadBalancer

0 commit comments

Comments
 (0)
Please sign in to comment.