This repository has been archived on 2023-08-14. You can view files and clone it, but cannot push or open issues or pull requests.
dex/example/k8s
2016-08-10 17:50:55 -07:00
..
.gitignore *: add example for running on kubernetes 2016-08-10 17:50:55 -07:00
client.yaml *: add example for running on kubernetes 2016-08-10 17:50:55 -07:00
config-k8s.yaml *: add example for running on kubernetes 2016-08-10 17:50:55 -07:00
deployment.yaml *: add example for running on kubernetes 2016-08-10 17:50:55 -07:00
dex-ingress.yaml *: add example for running on kubernetes 2016-08-10 17:50:55 -07:00
gencert.sh *: add example for running on kubernetes 2016-08-10 17:50:55 -07:00
nginx-ingress.yaml *: add example for running on kubernetes 2016-08-10 17:50:55 -07:00
README.md *: add example for running on kubernetes 2016-08-10 17:50:55 -07:00
thirdpartyresources.yaml *: add example for running on kubernetes 2016-08-10 17:50:55 -07:00

Running dex as the Kubernetes

kubectl create -f thirdpartyresources.yaml
kubectl create configmap dex-config --from-file=config.yaml=config-k8s.yaml
kubectl create -f deployment.yaml
kubectl create -f https://raw.githubusercontent.com/kubernetes/contrib/master/ingress/controllers/nginx/rc.yaml
./gencert.sh
kubectl create secret tls dex.example.com.tls --cert=ssl/cert.pem --key=ssl/key.pem
kubectl create -f dex-ingress.yaml
kubectl create -f client.yaml
../../bin/example-app --issuer https://dex.example.com --issuer-root-ca ssl/ca.pem