Cleanup, fixed broken traefik middleware for auth
This commit is contained in:
parent
83f46c9748
commit
6a665449d7
@ -10,6 +10,12 @@ spec:
|
|||||||
forwardAuth:
|
forwardAuth:
|
||||||
address: http://authentik-proxy-outpost.authentik.svc.cluster.local:9000/outpost.goauthentik.io/auth/traefik
|
address: http://authentik-proxy-outpost.authentik.svc.cluster.local:9000/outpost.goauthentik.io/auth/traefik
|
||||||
trustForwardHeader: true
|
trustForwardHeader: true
|
||||||
|
authRequestHeaders:
|
||||||
|
- Cookie
|
||||||
|
- X-Forwarded-Host
|
||||||
|
- X-Forwarded-Proto
|
||||||
|
- X-Forwarded-Uri
|
||||||
|
- X-Forwarded-For
|
||||||
authResponseHeaders:
|
authResponseHeaders:
|
||||||
- X-authentik-username
|
- X-authentik-username
|
||||||
- X-authentik-groups
|
- X-authentik-groups
|
||||||
|
|||||||
15
manifests/core/coredns-custom.yaml
Normal file
15
manifests/core/coredns-custom.yaml
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
# Apply: kubectl apply -f manifests/core/coredns-custom.yaml
|
||||||
|
# Delete: kubectl delete -f manifests/core/coredns-custom.yaml
|
||||||
|
# Description: CoreDNS custom ConfigMap to forward .home.arpa DNS queries to Pihole at 192.168.7.77.
|
||||||
|
apiVersion: v1
|
||||||
|
kind: ConfigMap
|
||||||
|
metadata:
|
||||||
|
name: coredns-custom
|
||||||
|
namespace: kube-system
|
||||||
|
data:
|
||||||
|
home.arpa.server: |
|
||||||
|
home.arpa:53 {
|
||||||
|
errors
|
||||||
|
cache 30
|
||||||
|
forward . 192.168.7.77
|
||||||
|
}
|
||||||
@ -9,6 +9,7 @@ metadata:
|
|||||||
spec:
|
spec:
|
||||||
entryPoints:
|
entryPoints:
|
||||||
- websecure
|
- websecure
|
||||||
|
- traefik
|
||||||
routes:
|
routes:
|
||||||
- match: Host(`traefik.home.arpa`) && PathPrefix(`/outpost.goauthentik.io`)
|
- match: Host(`traefik.home.arpa`) && PathPrefix(`/outpost.goauthentik.io`)
|
||||||
kind: Rule
|
kind: Rule
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user