From 41832369fd211c938477c876d8ec7d22e1910b80 Mon Sep 17 00:00:00 2001 From: Matt Moyer Date: Mon, 14 Dec 2020 10:56:57 -0600 Subject: [PATCH] Upgrade the Dex we use for local testing to v2.27.0. Signed-off-by: Matt Moyer --- test/deploy/dex/dex.yaml | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/test/deploy/dex/dex.yaml b/test/deploy/dex/dex.yaml index cee9f382..9f7e4c41 100644 --- a/test/deploy/dex/dex.yaml +++ b/test/deploy/dex/dex.yaml @@ -12,7 +12,7 @@ storage: config: file: ":memory:" web: - https: 0.0.0.0:443 + https: 0.0.0.0:8443 tlsCert: /var/certs/dex.pem tlsKey: /var/certs/dex-key.pem oauth2: @@ -20,7 +20,7 @@ oauth2: staticClients: - id: 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: - #@ "http://127.0.0.1:" + str(data.values.ports.cli) + "/callback" - #@ "http://[::1]:" + str(data.values.ports.cli) + "/callback" @@ -76,7 +76,7 @@ spec: spec: containers: - name: dex - image: quay.io/dexidp/dex:v2.10.0 + image: ghcr.io/dexidp/dex:v2.27.0 imagePullPolicy: IfNotPresent command: - /usr/local/bin/dex @@ -84,7 +84,7 @@ spec: - /etc/dex/cfg/config.yaml ports: - name: https - containerPort: 443 + containerPort: 8443 volumeMounts: - name: dex-config mountPath: /etc/dex/cfg @@ -111,5 +111,7 @@ spec: selector: app: dex ports: - - port: 443 - name: https + - name: https + port: 443 + targetPort: 8443 +