Skip to content
Snippets Groups Projects
Verified Commit e15d44b6 authored by Janne Mareike Koschinski's avatar Janne Mareike Koschinski
Browse files

fix: allow setting auth for oauth2-proxy

parent 1d2406e3
No related branches found
No related tags found
No related merge requests found
Pipeline #2790 passed
......@@ -47,9 +47,10 @@ spec:
key: cookie-secret
name: {{ include "oauth2-proxy-helm.fullname" . }}
args:
{{ range .Values.roles }}
{{ range .Values.auth.roles }}
- "--allowed-role={{ . }}"
{{ end }}
- "--email-domain={{ .Values.auth.emailDomain }}"
- "--redirect-url=https://{{ .Values.ingress.host }}{{ .Values.ingress.path }}oauth2/callback"
- "--oidc-issuer-url={{ .Values.oidc.discoveryUrl }}"
- "--upstream=file:///dev/null"
......
......@@ -14,6 +14,10 @@ oidc:
clientId: ""
clientSecret: ""
auth:
emailDomain: "*"
roles: [ ]
cookieSecret: ""
service:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment