Added oauth2 proxy
This commit is contained in:
@@ -13,7 +13,7 @@ spec:
|
|||||||
kind: Rule
|
kind: Rule
|
||||||
middlewares:
|
middlewares:
|
||||||
- name: keycloak-auth
|
- name: keycloak-auth
|
||||||
namespace: oauth2-proxy
|
namespace: kube-system
|
||||||
services:
|
services:
|
||||||
- name: secret-reader
|
- name: secret-reader
|
||||||
port: 80
|
port: 80
|
||||||
|
|||||||
@@ -3,6 +3,7 @@ apiVersion: traefik.io/v1alpha1
|
|||||||
kind: Middleware
|
kind: Middleware
|
||||||
metadata:
|
metadata:
|
||||||
name: keycloak-auth
|
name: keycloak-auth
|
||||||
|
namespace: kube-system
|
||||||
spec:
|
spec:
|
||||||
forwardAuth:
|
forwardAuth:
|
||||||
address: http://oauth2-proxy.oauth2-proxy.svc:80/oauth2/auth
|
address: http://oauth2-proxy.oauth2-proxy.svc:80/oauth2/auth
|
||||||
@@ -11,4 +12,3 @@ spec:
|
|||||||
- X-Auth-Request-User
|
- X-Auth-Request-User
|
||||||
- X-Auth-Request-Email
|
- X-Auth-Request-Email
|
||||||
- X-Auth-Request-Groups
|
- X-Auth-Request-Groups
|
||||||
- Authorization
|
|
||||||
|
|||||||
Reference in New Issue
Block a user