mirror of
https://github.com/k8s-at-home/charts.git
synced 2025-01-24 07:59:02 +00:00
[traefik-forward-auth] Use namespace in the middleware (#181)
Co-authored-by: ᗪєνιη ᗷυнʟ <onedr0p@users.noreply.github.com>
This commit is contained in:
parent
c4ba55abe2
commit
e3c38e70eb
@ -2,7 +2,7 @@ apiVersion: v2
|
||||
name: traefik-forward-auth
|
||||
description: A minimal forward authentication service that provides OAuth/SSO login and authentication for the traefik reverse proxy/load balancer
|
||||
type: application
|
||||
version: 1.0.1
|
||||
version: 1.0.2
|
||||
appVersion: 2.2.0
|
||||
keywords:
|
||||
- traefik
|
||||
|
@ -5,7 +5,7 @@ metadata:
|
||||
name: {{ .Values.middleware.name | default "traefik-forward-auth" }}
|
||||
spec:
|
||||
forwardAuth:
|
||||
address: "http://{{ include "traefik-forward-auth.fullname" . }}:{{ .Values.service.port }}"
|
||||
address: "http://{{ include "traefik-forward-auth.fullname" . }}.{{ .Release.Namespace }}:{{ .Values.service.port }}"
|
||||
authResponseHeaders:
|
||||
- X-Forwarded-User
|
||||
{{- end }}
|
Loading…
Reference in New Issue
Block a user