test authentik proxy
This commit is contained in:
parent
32ac2ef40f
commit
5ef26e5eef
2 changed files with 15 additions and 2 deletions
kubernetes/apps/production
|
@ -3,6 +3,15 @@ kind: Ingress
|
||||||
metadata:
|
metadata:
|
||||||
name: radarr
|
name: radarr
|
||||||
namespace: arr
|
namespace: arr
|
||||||
|
annotations:
|
||||||
|
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://radarr.local.mafyuh.dev/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;
|
||||||
spec:
|
spec:
|
||||||
ingressClassName: nginx
|
ingressClassName: nginx
|
||||||
rules:
|
rules:
|
||||||
|
|
|
@ -16,5 +16,9 @@ spec:
|
||||||
namespace: flux-system
|
namespace: flux-system
|
||||||
values:
|
values:
|
||||||
controller:
|
controller:
|
||||||
|
allowSnippetAnnotations: "true"
|
||||||
|
config:
|
||||||
|
annotations-risk-level: "Critical"
|
||||||
|
enable-annotation-validation: false
|
||||||
service:
|
service:
|
||||||
type: LoadBalancer
|
type: LoadBalancer
|
||||||
|
|
Reference in a new issue