Skip to content

Commit c16c7f2

Browse files
committed
Add admin group configuration for the service deployment
Add value `keycloak.adminGroup` to the theia-cloud chart to allow customizing the group name identifying admin users.
1 parent 3903368 commit c16c7f2

File tree

4 files changed

+7
-2
lines changed

4 files changed

+7
-2
lines changed

charts/theia-cloud/Chart.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ type: application
1515
# This is the chart version. This version number should be incremented each time you make changes
1616
# to the chart and its templates, including the app version.
1717
# Versions are expected to follow Semantic Versioning (https://semver.org/)
18-
version: 1.1.0-next.0
18+
version: 1.1.0-next.1
1919

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

charts/theia-cloud/README.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# theia-cloud
22

3-
![Version: 1.1.0-next.0](https://img.shields.io/badge/Version-1.1.0--next.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 1.1.0-next](https://img.shields.io/badge/AppVersion-1.1.0--next-informational?style=flat-square)
3+
![Version: 1.1.0-next.1](https://img.shields.io/badge/Version-1.1.0--next.1-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 1.1.0-next](https://img.shields.io/badge/AppVersion-1.1.0--next-informational?style=flat-square)
44

55
A Helm chart for Theia Cloud
66

@@ -45,6 +45,7 @@ A Helm chart for Theia Cloud
4545
| issuer | object | (see details below) | Values related to certificates/Cert-manager |
4646
| issuer.email | string | `"[email protected]"` | EMail address of the certificate issuer. |
4747
| keycloak | object | (see details below) | Values related to Keycloak |
48+
| keycloak.adminGroup | string | `"theia-cloud/admin"` | The name of the Keycloak group identifying admin users who are allowed to access the service's admin endpoints. |
4849
| keycloak.authUrl | string | `"https://keycloak.url/auth/"` | Key cloak auth URL. Only has to be specified when enable: true |
4950
| keycloak.clientId | string | `"theia-cloud"` | The client-id. Only has to be specified when enable: true |
5051
| keycloak.clientSecret | string | `"publicbutoauth2proxywantsasecret"` | The oaid client secret. In case you configure your keycloak client as confidential, then you may specifiy the secret here. If you stick with our default public client, you may leave below value. For public clients keycloak does not generate a client-secret, but in order to make oath2-proxy happy, we will pass a value |

charts/theia-cloud/templates/service-configmap.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ data:
88
SERVICE_PORT: {{ tpl (.Values.service.port | toString) . | quote }}
99
KEYCLOAK_ENABLE: {{ tpl (.Values.keycloak.enable | toString) . | quote }}
1010
{{- if eq (tpl (.Values.keycloak.enable | toString) .) "true" }}
11+
KEYCLOAK_ADMIN_GROUP: {{ tpl (.Values.keycloak.adminGroup | toString) . }}
1112
KEYCLOAK_SERVERURL: {{ tpl (.Values.keycloak.authUrl | toString) . }}realms/{{ tpl (.Values.keycloak.realm | toString) . }}
1213
KEYCLOAK_CLIENTID: {{ tpl (.Values.keycloak.clientId | toString) . }}
1314
KEYCLOAK_CLIENTSECRET: {{ tpl (.Values.keycloak.clientSecret | toString) . }}

charts/theia-cloud/values.yaml

+3
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,9 @@ keycloak:
158158
# -- Whether keycloak authentication shall be used
159159
enable: false
160160

161+
# -- The name of the Keycloak group identifying admin users who are allowed to access the service's admin endpoints.
162+
adminGroup: "theia-cloud/admin"
163+
161164
# -- Key cloak auth URL. Only has to be specified when enable: true
162165
authUrl: "https://keycloak.url/auth/"
163166

0 commit comments

Comments
 (0)