1
0
mirror of https://github.com/oauth2-proxy/oauth2-proxy.git synced 2025-07-13 01:40:48 +02:00

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>
This commit is contained in:
Vinay Chandrasekharan
2025-01-04 13:09:36 -05:00
committed by GitHub
parent 507d63e05b
commit 5260633103
2 changed files with 12 additions and 5 deletions

View File

@ -16,6 +16,7 @@ Then:
* `make deploy`
Visit http://httpbin.localtest.me or http://hello-world.localtest.me/
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`.
## Uninstall

View File

@ -2,8 +2,12 @@ dex:
ingress:
enabled: true
hosts:
- dex.localtest.me
grpc: false
- host: dex.localtest.me
paths:
- path: /
pathType: ImplementationSpecific
grpc:
enabled: false
certs:
grpc:
create: false
@ -12,6 +16,11 @@ dex:
config:
issuer: http://dex.localtest.me
storage:
type: kubernetes
config:
inCluster: true
enablePasswordDB: true
expiry:
signingKeys: "4h"
idTokens: "1h"
@ -35,9 +44,6 @@ oauth2-proxy:
enabled: true
hosts:
- oauth2-proxy.localtest.me
annotations:
nginx.ingress.kubernetes.io/server-snippet: |
large_client_header_buffers 4 32k;
# pick up client_id and client_secret from configFile as opposed to helm .Values.config.clientID and .Values.config.clientSecret
proxyVarsAsSecrets: false
config: