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
|
name: traefik-forward-auth
|
||||||
description: A minimal forward authentication service that provides OAuth/SSO login and authentication for the traefik reverse proxy/load balancer
|
description: A minimal forward authentication service that provides OAuth/SSO login and authentication for the traefik reverse proxy/load balancer
|
||||||
type: application
|
type: application
|
||||||
version: 1.0.1
|
version: 1.0.2
|
||||||
appVersion: 2.2.0
|
appVersion: 2.2.0
|
||||||
keywords:
|
keywords:
|
||||||
- traefik
|
- traefik
|
||||||
|
@ -5,7 +5,7 @@ metadata:
|
|||||||
name: {{ .Values.middleware.name | default "traefik-forward-auth" }}
|
name: {{ .Values.middleware.name | default "traefik-forward-auth" }}
|
||||||
spec:
|
spec:
|
||||||
forwardAuth:
|
forwardAuth:
|
||||||
address: "http://{{ include "traefik-forward-auth.fullname" . }}:{{ .Values.service.port }}"
|
address: "http://{{ include "traefik-forward-auth.fullname" . }}.{{ .Release.Namespace }}:{{ .Values.service.port }}"
|
||||||
authResponseHeaders:
|
authResponseHeaders:
|
||||||
- X-Forwarded-User
|
- X-Forwarded-User
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
Loading…
Reference in New Issue
Block a user