mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
[incubator/buzzfeed-sso] Add ability to add whitelisted emails (#13648)
* Rebase to latest master Signed-off-by: StiviiK <stefan.kuerzeder@gmail.com> * Bumped chart version Signed-off-by: StiviiK <stefan.kuerzeder@gmail.com>
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
2e0540dbe3
commit
923e2d4992
@@ -1,7 +1,7 @@
|
||||
apiVersion: v1
|
||||
description: Single sign-on for your Kubernetes services using Google OAuth
|
||||
name: buzzfeed-sso
|
||||
version: 0.0.5
|
||||
version: 0.0.6
|
||||
appVersion: 1.2.0
|
||||
home: https://github.com/buzzfeed/sso
|
||||
sources:
|
||||
|
||||
@@ -53,6 +53,7 @@ Parameter | Description | Default
|
||||
`namespace` | namespace to use | `default`
|
||||
`emailDomain` | the sso email domain for authentication | REQUIRED
|
||||
`rootDomain` | the parent domain used for protecting your backends | REQUIRED
|
||||
`whitelistedEmails` | comma-seperated list of emails which should be whitelisted | OPTIONAL
|
||||
`cluster` | the cluster name for SSO | `dev`
|
||||
`auth.annotations` | extra annotations for auth pods | `{}`
|
||||
`auth.domain` | the auth domain used for OAuth callbacks | REQUIRED
|
||||
|
||||
@@ -57,6 +57,10 @@ spec:
|
||||
value: {{ .Values.emailDomain | quote }}
|
||||
- name: HOST
|
||||
value: {{ $authDomain }}
|
||||
{{- if .Values.whitelistedEmails }}
|
||||
- name: SSO_EMAIL_ADDRESSES
|
||||
value: {{ .Values.whitelistedEmails }}
|
||||
{{- end }}
|
||||
- name: REDIRECT_URL
|
||||
value: https://{{ $authDomain }}
|
||||
- name: PROXY_ROOT_DOMAIN
|
||||
|
||||
@@ -63,6 +63,10 @@ spec:
|
||||
key: proxy-cookie-secret
|
||||
- name: EMAIL_DOMAIN
|
||||
value: {{ .Values.emailDomain | quote }}
|
||||
{{- if .Values.whitelistedEmails }}
|
||||
- name: EMAIL_ADDRESSES
|
||||
value: {{ .Values.whitelistedEmails }}
|
||||
{{- end }}
|
||||
- name: UPSTREAM_CONFIGS
|
||||
value: /sso/upstream_configs.yml
|
||||
- name: PROVIDER_URL
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
|
||||
emailDomain: "<your_email_domain>" # Required. e.g "email.mydomain.foo"
|
||||
rootDomain: "<your_root_domain>" # Required. e.g "mydomain.foo"
|
||||
# whitelistedEmails: "<whitelisted_addresses>" # Optional. e.g. "userA.nameA@mydomain.foo,userB.nameB@mydomain.foo"
|
||||
cluster: dev
|
||||
|
||||
auth:
|
||||
|
||||
Reference in New Issue
Block a user