Merge pull request #281 from mattmoyer/upgrade-dex

Upgrade the Dex we use for local testing to v2.27.0.
This commit is contained in:
Matt Moyer 2020-12-17 12:50:36 -06:00 committed by GitHub
commit 9183c3897f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -12,7 +12,7 @@ storage:
config: config:
file: ":memory:" file: ":memory:"
web: web:
https: 0.0.0.0:443 https: 0.0.0.0:8443
tlsCert: /var/certs/dex.pem tlsCert: /var/certs/dex.pem
tlsKey: /var/certs/dex-key.pem tlsKey: /var/certs/dex-key.pem
oauth2: oauth2:
@ -20,7 +20,7 @@ oauth2:
staticClients: staticClients:
- id: pinniped-cli - id: pinniped-cli
name: 'Pinniped CLI' name: 'Pinniped CLI'
#! we can't have "public: true" until https://github.com/dexidp/dex/pull/1822 lands in Dex. public: true
redirectURIs: redirectURIs:
- #@ "http://127.0.0.1:" + str(data.values.ports.cli) + "/callback" - #@ "http://127.0.0.1:" + str(data.values.ports.cli) + "/callback"
- #@ "http://[::1]:" + str(data.values.ports.cli) + "/callback" - #@ "http://[::1]:" + str(data.values.ports.cli) + "/callback"
@ -76,7 +76,7 @@ spec:
spec: spec:
containers: containers:
- name: dex - name: dex
image: quay.io/dexidp/dex:v2.10.0 image: ghcr.io/dexidp/dex:v2.27.0
imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent
command: command:
- /usr/local/bin/dex - /usr/local/bin/dex
@ -84,7 +84,7 @@ spec:
- /etc/dex/cfg/config.yaml - /etc/dex/cfg/config.yaml
ports: ports:
- name: https - name: https
containerPort: 443 containerPort: 8443
volumeMounts: volumeMounts:
- name: dex-config - name: dex-config
mountPath: /etc/dex/cfg mountPath: /etc/dex/cfg
@ -111,5 +111,7 @@ spec:
selector: selector:
app: dex app: dex
ports: ports:
- port: 443 - name: https
name: https port: 443
targetPort: 8443