git.iko.soy/typeable/oauth2-proxy
on master help sign in
doc: fix dex helm chart values for k8s example (#2880)

--------- Co-authored-by: vinay chandrasekharan <vinay.cn@gmail.com> Co-authored-by: Jan Larwig <jan@larwig.com>

commit5260633103888fc6055cf5202e15c1b9079a429f authorVinay Chandrasekharan <the_vinaynair@yahoo.com> dateSat 4 Jan 2025, 13:09 (2 years ago) parent507d63e
2 files changed+12−5
contrib/local-environment/kubernetes/README.md+1 contrib/local-environment/kubernetes/values.yaml+11−5
contrib/local-environment/kubernetes/README.md+1
@@ -16,6 +16,7 @@ Then:
1616* `make deploy`
1717
1818Visit http://httpbin.localtest.me or http://hello-world.localtest.me/
19+Note: When accessing the service for the first time you will need to authenticate with Dex. It is configured using static credentials for testing. With username `admin@example.com` and password set to `password`.
1920
2021## Uninstall
2122
contrib/local-environment/kubernetes/values.yaml+11−5
@@ -2,8 +2,12 @@ dex:
22 ingress:
33 enabled: true
44 hosts:
5− - dex.localtest.me
6− grpc: false
5+ - host: dex.localtest.me
6+ paths:
7+ - path: /
8+ pathType: ImplementationSpecific
9+ grpc:
10+ enabled: false
711 certs:
812 grpc:
913 create: false
@@ -12,6 +16,11 @@ dex:
1216
1317 config:
1418 issuer: http://dex.localtest.me
19+ storage:
20+ type: kubernetes
21+ config:
22+ inCluster: true
23+ enablePasswordDB: true
1524 expiry:
1625 signingKeys: "4h"
1726 idTokens: "1h"
@@ -35,9 +44,6 @@ oauth2-proxy:
3544 enabled: true
3645 hosts:
3746 - oauth2-proxy.localtest.me
38− annotations:
39− nginx.ingress.kubernetes.io/server-snippet: |
40− large_client_header_buffers 4 32k;
4147 # pick up client_id and client_secret from configFile as opposed to helm .Values.config.clientID and .Values.config.clientSecret
4248 proxyVarsAsSecrets: false
4349 config: