본문으로 건너뛰기

Dex

설치

helm repo add dex https://charts.dexidp.io
helm repo update dex \
&& helm search repo dex/dex -l | head -n 10
helm pull dex/dex --version 0.23.0
helm show values dex/dex --version 0.23.0 > dex-0.23.0.yaml
dex-values.yaml
config:
issuer: <uri>

storage:
type: <type>
config:
<key>: <value>

connectors:
- type: <type>
id: <id>
name: <name>
config:
<key>: <value>

staticClients:
- name: <name>
id: <id>
secret: <secret>
redirectURIs:
- <uri>
helm template dex dex/dex \
--version 0.23.0 \
-n dex \
-f dex-values.yaml \
> dex.yaml
helm upgrade dex dex/dex \
--install \
--history-max 5 \
--version 0.23.0 \
-n dex \
-f dex-values.yaml

삭제

helm uninstall dex -n dex
kubectl delete namespace dex
kubectl get crd -oname | grep --color=never 'dex.coreos.com' | xargs kubectl delete