Image Overview: dex
ReferenceChainguard ImagesProduct
experimental
cgr.dev/chainguard/dex
Tags | Aliases |
---|---|
latest | 2 , 2.36 , 2.36.0 , 2.36.0-r3 |
latest-dev | 2-dev , 2.36-dev , 2.36.0-dev , 2.36.0-r3-dev |
dex is a federated OpenID Connect provider.
Get It!
The image is available on cgr.dev
:
docker pull cgr.dev/chainguard/dex
Using dex
dex
has several operating modes, the most common being kubernetes, installed via helm
using the upstream source shown below:
helm repo add dex https://charts.dexidp.io
helm install --generate-name --wait dex/dex -f values.yaml
An example values.yaml
file is provided below:
# values.yaml
image:
repository: cgr.dev/chainguard/dex
tag: latest
config:
issuer: "http://127.0.0.1:5556/dex"
storage:
type: memory
web:
http: 0.0.0.0:5556
expiry:
deviceRequests: "5m"
signingKeys: "6h"
idTokens: "24h"
authRequests: "24h"
logger:
level: "info"
format: "text"
oauth2:
responseTypes: [ "code" ]
skipApprovalScreen: false
alwaysShowLoginScreen: false
enablePasswordDB: true
connectors:
- type: mockCallback
id: mock
name: Example
WARNING: The example above should not be used in production, it simply exists to get up and running quickly.
For an incomplete values file that only contains the minimum required settings to use the Chainguard Images variant, use the snippet below:
# non functional defaults! fill in with your own values.yaml
image:
repository: cgr.dev/chainguard/dex
tag: latest