1
0
forked from k-space/kube

Migrate whoami to new OIDC gateway

This commit is contained in:
Lauri Võsandi 2023-06-29 14:48:52 +03:00
parent be330ad121
commit 5a0821da0d

View File

@ -45,7 +45,7 @@ metadata:
kubernetes.io/ingress.class: traefik
traefik.ingress.kubernetes.io/router.entrypoints: websecure
traefik.ingress.kubernetes.io/router.tls: "true"
traefik.ingress.kubernetes.io/router.middlewares: traefik-sso@kubernetescrd
traefik.ingress.kubernetes.io/router.middlewares: traefik-whoami@kubernetescrd
spec:
tls:
- hosts:
@ -61,3 +61,16 @@ spec:
name: whoami
port:
number: 80
---
apiVersion: codemowers.io/v1alpha1
kind: OIDCGWMiddlewareClient
metadata:
name: whoami
spec:
displayName: Who-Am-I
uri: 'https://whoami.k-space.ee'
headerMapping:
email: Remote-Email
groups: Remote-Groups
name: Remote-Name
user: Remote-Username