fix middleware

This commit is contained in:
2024-02-13 06:41:13 -07:00
parent 639f7a4031
commit 0be01806dd
2 changed files with 3 additions and 3 deletions

View File

@@ -1,6 +1,6 @@
apiVersion: v2
name: home-assistant
version: 0.0.4
version: 0.0.5
description: Chart for Home Assistant
keywords:
- home-automation

View File

@@ -1,4 +1,4 @@
{{- if .Values.ingress.enabled }}
{{- if .Values.ingressRoute.enabled }}
apiVersion: traefik.containo.us/v1alpha1
kind: Middleware
metadata:
@@ -13,7 +13,7 @@ metadata:
app.kubernetes.io/managed-by: helm
spec:
forwardAuth:
address: "http://{{ .Values.ingress.authentik.outpost }}.authentik:{{ .Values.ingress.authentik.port }}/outpost.goauthentik.io/auth/traefik"
address: "http://{{ .Values.ingressRoute.authentik.outpost }}.authentik:{{ .Values.ingressRoute.authentik.port }}/outpost.goauthentik.io/auth/traefik"
trustForwardHeader: true
authResponseHeaders:
- X-authentik-username