Skip to content

Commit e8823c5

Browse files
committed
WIP: add values for OJT builds with SSO redirects
1 parent 24518c5 commit e8823c5

File tree

12 files changed

+29
-7
lines changed

12 files changed

+29
-7
lines changed

charts/thub/Chart.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ type: application
66
# This is the chart version. This version number should be incremented each time you make changes
77
# to the chart and its templates, including the app version.
88
# Versions are expected to follow Semantic Versioning (https://semver.org/)
9-
version: 1.9.0
9+
version: 1.10.0
1010

1111
# This is the version number of the application being deployed. This version number should be
1212
# incremented each time you make changes to the application. Versions are not expected to
@@ -21,11 +21,11 @@ dependencies:
2121
- name: item-service
2222
version: 1.4.0
2323
- name: keycloak-config
24-
version: 0.1.1
24+
version: 0.1.2
2525
- name: lms-data-service
26-
version: 1.7.0
26+
version: 1.8.0
2727
- name: ojt
28-
version: 1.6.0
28+
version: 1.7.0
2929
- name: user-service
3030
version: 1.4.0
3131

charts/thub/charts/keycloak-config/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ type: application
77
# This is the chart version. This version number should be incremented each time you make changes
88
# to the chart and its templates, including the app version.
99
# Versions are expected to follow Semantic Versioning (https://semver.org/)
10-
version: 0.1.1
10+
version: 0.1.2
1111

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

charts/thub/charts/keycloak-config/templates/keycloak-configmap.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,4 +33,6 @@ data:
3333
grails.plugin.springsecurity.rest.keycloak.key: {{ .Values.clientId | quote }}
3434
# Username for an admin of this realm. Password is defined in keycloak-realm-secret
3535
grails.plugin.springsecurity.rest.keycloak.realmAdminUsername: {{ required "realmAdminUsername cannot be emtpy" .Values.realmAdminUsername | quote }}
36+
# The desired scopes when requesting an access token. This is a space seperated list.
37+
grails.plugin.springsecurity.rest.keycloak.scopes: {{ .Values.scopes | quote }}
3638
{{- end }}

charts/thub/charts/keycloak-config/values.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ databasePassword: ""
1515
realmName: ""
1616
clientId: "ojt"
1717
clientSecret: ""
18+
# The desired scopes when requesting an access token. This is a space seperated list.
19+
scopes: "email profile"
1820
# Credentials for the admin of the Keycloak server (master realm)
1921
masterAdminUsername: ""
2022
masterAdminPassword: ""

charts/thub/charts/lms-data-service/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ type: application
77
# This is the chart version. This version number should be incremented each time you make changes
88
# to the chart and its templates, including the app version.
99
# Versions are expected to follow Semantic Versioning (https://semver.org/)
10-
version: 1.7.0
10+
version: 1.8.0
1111

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

charts/thub/charts/lms-data-service/templates/lms-data-service-configmap.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,4 @@ data:
1515
{{ $key }}: {{ $value | quote }}
1616
{{- end }}
1717
{{- end }}
18+
hclabs.lmsDataService.loginUsingSso: {{ .Values.loginUsingSso | quote }}

charts/thub/charts/lms-data-service/values.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,10 @@ affinity: {}
112112
# For example, custom.property.one: "value1"
113113
additionalConfig: {}
114114

115+
# Boolean that when true, users will login to LMS Data Service using a SSO authentication provider
116+
# with a redirect URL rather than entering their their credentials on the LMS Data Service web app login page.
117+
loginUsingSso: true
118+
115119
# Encryption key for storing sensitive values in the database
116120
encryptionPassword: ""
117121

charts/thub/charts/ojt/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ type: application
77
# This is the chart version. This version number should be incremented each time you make changes
88
# to the chart and its templates, including the app version.
99
# Versions are expected to follow Semantic Versioning (https://semver.org/)
10-
version: 1.6.0
10+
version: 1.7.0
1111

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

charts/thub/charts/ojt/templates/ojt-configmap.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,4 @@ data:
1818
{{- if .Values.mail.password }}
1919
grails.mail.password: {{ .Values.mail.password | quote }}
2020
{{- end }}
21+
hclabs.ojt.loginUsingSso: {{ .Values.loginUsingSso | quote }}

charts/thub/charts/ojt/values.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,10 @@ mail:
117117
# For example, custom.property.one: "value1"
118118
additionalConfig: {}
119119

120+
# Boolean that when true, users will login to OJT using a SSO authentication provider
121+
# with a redirect URL rather than entering their their credentials on the OJT web app login page.
122+
loginUsingSso: true
123+
120124
learningHistorySchedulerJob:
121125
enabled: true
122126
# Run every 30 minutes

0 commit comments

Comments
 (0)