Skip to content

Commit 127887b

Browse files
committed
add claim support for sso
1 parent 0242a5c commit 127887b

File tree

3 files changed

+14
-10
lines changed

3 files changed

+14
-10
lines changed

charts/hub/Chart.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ type: application
1616
# This is the chart version. This version number should be incremented each time you make changes
1717
# to the chart and its templates, including the app version.
1818
# Versions are expected to follow Semantic Versioning (https://semver.org/)
19-
version: 0.52.0
19+
version: 0.53.0
2020

2121
# This is the version number of the application being deployed. This version number should be
2222
# incremented each time you make changes to the application. Versions are not expected to

charts/hub/templates/kerberos-hub/hub-api.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -176,6 +176,8 @@ spec:
176176
value: "{{- range .Values.kerberoshub.api.sso }}{{ .domain }};{{- end }}"
177177
- name: SSO_REDIRECTURLS
178178
value: "{{- range .Values.kerberoshub.api.sso }}{{ .redirectUrl }};{{- end }}"
179+
- name: SSO_CLAIMIDS
180+
value: "{{- range .Values.kerberoshub.api.sso }}{{ .claimId }};{{- end }}"
179181
- name: SSO_ISSUERS
180182
value: "{{- range .Values.kerberoshub.api.sso }}{{ .issuer }};{{- end }}"
181183
- name: SSO_CLIENTIDS

charts/hub/values.yaml

+11-9
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,15 @@ license: "---ENTER-YOUR-LICENSE-HERE---"
1010
licenseServer:
1111
url: "https://license.kerberos.io/verify"
1212
token: "214%ˆ#ddfsf@#3rfdsgl_)23sffeqasSwefDSFNBM" # do not change otherwise Kerberos Hub will not work.
13-
13+
1414
# Private Docker Registry: The registry secret is required if you have your Docker images behind a private registry.
1515
# By default it will pull from Docker hub (https://hub.docker.com/r/kerberos).
1616
#imagePullSecrets:
1717
# - name: regcred
18-
18+
1919
# Environment: set to 'production', 'develop', 'demo', 'staging' or 'acceptance'.
2020
# Set to 'true' if this is a private deployment.
21-
environment: 'production'
21+
environment: "production"
2222

2323
# Set to 'true' if this is a private deployment.
2424
isPrivate: true
@@ -151,7 +151,7 @@ kerberoshub:
151151
api:
152152
repository: kerberos/hub-api
153153
pullPolicy: IfNotPresent
154-
tag: "1.0.1222305520"
154+
tag: "1.0.1265092716"
155155
replicas: 2
156156
jwtSecret: "this-is-a-secret-please-change-to-random-string" # change to a random value, this is for generating JWT tokens.
157157
schema: "https"
@@ -175,7 +175,7 @@ kerberoshub:
175175

176176
# MFA issuer name
177177
mfaIssuer: "Kerberos.io"
178-
178+
179179
# Admin API's are made available for automation of Kerberos Hub.
180180
# To access those API's (e.g. creation of owner users), an API key needs to be provided.
181181
apiKey: "a-random-admin-api-key"
@@ -218,27 +218,29 @@ kerberoshub:
218218
- domain: "uug.ai"
219219
redirectUrl: "https://api.cloud.kerberos.io/sso/callback/uug.ai"
220220
issuer: "https://xxx.eu.auth0.com/"
221+
claimId: "email" # claim which is used to identify the user
221222
clientId: "xxx"
222223
clientSecret: "xxx"
223224
clientVerificationId: "" # This is only required for SSO chaining.
224225
- domain: "kerberos.io"
225226
redirectUrl: "https://api.cloud.kerberos.io/sso/callback/kerberos.io"
226227
issuer: "https://accounts.google.com"
228+
claimId: "email" # claim which is used to identify the user
227229
clientId: "xxx"
228230
clientSecret: "xxx"
229231
clientVerificationId: "" # This is only required for SSO chaining.
230232
frontend:
231233
repository: kerberos/hub-frontend
232234
pullPolicy: IfNotPresent
233-
tag: "1.0.1222303921"
235+
tag: "1.0.1265984636"
234236
replicas: 2
235237
schema: "https"
236238
url: "yourdomain.com"
237239
resources:
238240
requests:
239241
memory: 50Mi
240242
cpu: 50m
241-
243+
242244
# The front-end but in read-only mode
243245
#demoUrl: "demo.yourdomain.com"
244246
# When migrating to another url, this might help migrating.
@@ -278,7 +280,7 @@ kerberoshub:
278280
# of accounts and subaccounts. However through the concept of domains, you
279281
# take it a step further. Within a domain, user accounts are unique, and are prefixed by a (domain\).
280282
#multiTenant: true
281-
#tenantBaseDomain: "yourdomain.com" # this would resolve in following sub domain "https://domain.kerberos.io"
283+
#tenantBaseDomain: "yourdomain.com" # this would resolve in following sub domain "https://domain.kerberos.io"
282284

283285
# Page title (browser)
284286
title: "Kerberos Hub - Video surveillance as it should be"
@@ -532,4 +534,4 @@ kerberospipeline:
532534
resources:
533535
requests:
534536
memory: 10Mi
535-
cpu: 10m
537+
cpu: 10m

0 commit comments

Comments
 (0)