wip
This commit is contained in:
parent
8c0277c8f3
commit
9e2c30af22
60 changed files with 8853 additions and 232 deletions
|
|
@ -17,6 +17,7 @@ services:
|
|||
- code-server-data:/config
|
||||
labels:
|
||||
kompose.service.expose: code-server.wayl.one
|
||||
# traefik.ingress.kubernetes.io/router.middlewares: default-forwardauth-authelia@kubernetescrd
|
||||
ports:
|
||||
- 8443
|
||||
volumes:
|
||||
|
|
|
|||
16
code-server/middleware.yml
Normal file
16
code-server/middleware.yml
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
apiVersion: traefik.containo.us/v1alpha1
|
||||
kind: Middleware
|
||||
metadata:
|
||||
name: forwardauth-authelia
|
||||
namespace: code-server
|
||||
labels:
|
||||
app.kubernetes.io/instance: authelia
|
||||
app.kubernetes.io/name: authelia
|
||||
spec:
|
||||
forwardAuth:
|
||||
address: http://auth.wayl.one/api/verify?rd=https%3A%2F%2Fcode-server.wayl.one%2F
|
||||
authResponseHeaders:
|
||||
- Remote-User
|
||||
- Remote-Name
|
||||
- Remote-Email
|
||||
- Remote-Groups
|
||||
Loading…
Add table
Add a link
Reference in a new issue