git.iko.soy/typeable/oauth2-proxy
on master help sign in
doc: fix dex helm chart values for k8s example (#2880)
5260633Vinay Chandrasekharan
contrib/local-environment/kubernetes/README.md+1
@@ -16,6 +16,7 @@ Then:
16* `make deploy`
16* `make deploy`
17
17
18Visit http://httpbin.localtest.me or http://hello-world.localtest.me/
18Visit 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`.
19
20
20## Uninstall
21## Uninstall
21
22
contrib/local-environment/kubernetes/values.yaml+11−5
@@ -2,8 +2,12 @@ dex:
2 ingress:
2 ingress:
3 enabled: true
3 enabled: true
4 hosts:
4 hosts:
5− - dex.localtest.me
5+ - host: dex.localtest.me
6+ paths:
7+ - path: /
8+ pathType: ImplementationSpecific
6− grpc: false
9+ grpc:
10+ enabled: false
7 certs:
11 certs:
8 grpc:
12 grpc:
9 create: false
13 create: false
@@ -12,6 +16,11 @@ dex:
12
16
13 config:
17 config:
14 issuer: http://dex.localtest.me
18 issuer: http://dex.localtest.me
19+ storage:
20+ type: kubernetes
21+ config:
22+ inCluster: true
23+ enablePasswordDB: true
15 expiry:
24 expiry:
16 signingKeys: "4h"
25 signingKeys: "4h"
17 idTokens: "1h"
26 idTokens: "1h"
@@ -35,9 +44,6 @@ oauth2-proxy:
35 enabled: true
44 enabled: true
36 hosts:
45 hosts:
37 - oauth2-proxy.localtest.me
46 - oauth2-proxy.localtest.me
38− annotations:
39− nginx.ingress.kubernetes.io/server-snippet: |
40− large_client_header_buffers 4 32k;
41 # pick up client_id and client_secret from configFile as opposed to helm .Values.config.clientID and .Values.config.clientSecret
47 # pick up client_id and client_secret from configFile as opposed to helm .Values.config.clientID and .Values.config.clientSecret
42 proxyVarsAsSecrets: false
48 proxyVarsAsSecrets: false
43 config:
49 config: