Skip to content

nabokihms/k3s-dex-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

How it works?

Clone repo

You should run git clone on the server with installed k3s.

Deploy cert-manager

kubectl create -f files/charts/cert-manager.yaml 

Create cluster-issuer

kubectl create -f files/resources/cluster-issuer.yaml

Prepare dex chart

  • Provide your domain instead of dex-demo.***
  • Provide your gitlab app clientId and clientSecret
  • In groups set your existing gitlab group
  • Deploy chart with the following command
kubectl create -f files/charts/dex.yaml

Configure k3s

cp files/k3s-config.yaml /etc/rancher/k3s/k3s.yaml
systemctl restart k3s

Create cluster role binding

kubectl create -f files/resources/cluster-role-binding.yaml

Try things

TODO: describe how to try auth with kubeconfig and with the browser

About

Files to demonstrate feature of @dexidp and how it works on K3s

Resources

License

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors