Skip to content

Instantly share code, notes, and snippets.

@gowatana
Created March 9, 2024 05:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gowatana/310306f4f86cb6a08015d7a09af9504d to your computer and use it in GitHub Desktop.
Save gowatana/310306f4f86cb6a08015d7a09af9504d to your computer and use it in GitHub Desktop.
issuer: http://dex.auth.svc.cluster.local:5556/dex
storage:
type: kubernetes
config:
inCluster: true
web:
http: 0.0.0.0:5556
logger:
level: "debug"
format: text
oauth2:
skipApprovalScreen: true
enablePasswordDB: true
staticPasswords:
- email: user@example.com
hash: $2y$12$4K/VkmDd1q1Orb3xAt82zu8gk7Ad6ReFR4LCP9UeYE90NLiN9Df72
# https://github.com/dexidp/dex/pull/1601/commits
# FIXME: Use hashFromEnv instead
username: user
userID: "15841185641784"
- email: nutanix
hash: $2y$12$RH1gnEFhlSAApuypmw6cXeywowYus.EwPfZMh.hbPkkqGpnplaBO2
username: nutanix
- email: demo-01@example.com
hash: $2y$12$RH1gnEFhlSAApuypmw6cXeywowYus.EwPfZMh.hbPkkqGpnplaBO2
username: demo-01
- email: demo-02@example.com
hash: $2y$12$RH1gnEFhlSAApuypmw6cXeywowYus.EwPfZMh.hbPkkqGpnplaBO2
username: demo-02
staticClients:
# https://github.com/dexidp/dex/pull/1664
- idEnv: OIDC_CLIENT_ID
redirectURIs: ["/authservice/oidc/callback"]
name: 'Dex Login Application'
secretEnv: OIDC_CLIENT_SECRET
@gowatana
Copy link
Author

gowatana commented Mar 9, 2024

下記の投稿むけ。

Kubeflow に nutanix ユーザを作成してみる。
https://blog.ntnx.jp/entry/2024/03/09/143917

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment