Fix service Name

This commit is contained in:
2024-10-11 22:55:30 +02:00
parent 5dbc3bdea2
commit f4ac0c5ac3
10 changed files with 58 additions and 122 deletions

View File

@@ -8,19 +8,8 @@ resource "kubectl_manifest" "middleware" {
labels: ${jsonencode(local.ak_gatekeeper_labels)}
spec:
forwardAuth:
address: http://authentik.${var.domain}-auth.svc:9000/outpost.goauthentik.io/auth/traefik
address: http://ak-${var.domain}-proxy-outpost.${var.domain}-auth.svc:9000/outpost.goauthentik.io/auth/traefik
trustForwardHeader: true
authResponseHeaders:
- X-authentik-username
- X-authentik-email
- X-authentik-groups
- X-authentik-name
- X-authentik-uid
- X-authentik-jwt
- X-authentik-meta-jwks
- X-authentik-meta-outpost
- X-authentik-meta-provider
- X-authentik-meta-app
- X-authentik-meta-version
authResponseHeaders: ${jsonencode(var.response_headers)}
EOF
}