Skip to content

Commit 891db1b

Browse files
authored
Merge branch 'release-2.17.0' into build/gateway-improvements
2 parents 2a6e307 + 71113ce commit 891db1b

5 files changed

Lines changed: 7 additions & 42 deletions

File tree

helm-chart/renku/templates/data-service/deployment.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ spec:
161161
- name: V1_SESSIONS_ENABLED
162162
value: {{ .Values.ui.client.supportLegacySessions | default false | quote }}
163163
- name: ENABLE_INTERNAL_GITLAB
164-
value: {{ .Values.enableInternalGitlab | default false | quote }}
164+
value: "false"
165165
- name: POSTHOG_ENABLED
166166
value: {{ .Values.posthog.enabled | quote }}
167167
- name: LOG_FORMAT_STYLE

helm-chart/renku/templates/gateway/configmap.yaml

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ data:
3636
audience: renku
3737
authorizedParty: renku-cli
3838
revproxy:
39-
enableInternalGitlab: {{ .Values.enableInternalGitlab | default false }}
39+
enableInternalGitlab: "false"
4040
renkuBaseUrl: {{ include "renku.baseUrl" . | quote }}
4141
externalGitlabUrl: {{ .Values.global.gitlab.url | default "" | quote }}
4242
k8sNamespace: {{ .Release.Namespace }}
@@ -47,7 +47,7 @@ data:
4747
uiserver: {{ printf "http://%s" (include "ui-server.fullname" .) | quote }}
4848
search: {{ printf "http://%s-search-api" .Release.Name | quote }}
4949
login:
50-
enableInternalGitlab: {{ .Values.enableInternalGitlab | default false }}
50+
enableInternalGitlab: "false"
5151
renkuBaseUrl: {{ include "renku.baseUrl" . | quote }}
5252
loginRoutesBasePath: "/api/auth"
5353
defaultAppRedirectURL: {{ include "renku.baseUrl" . | quote }}
@@ -60,14 +60,6 @@ data:
6060
scopes: ["profile", "email", "openid", "microprofile-jwt"]
6161
callbackURI: {{ printf "%s/api/auth/callback" (include "renku.baseUrl" .) }}
6262
usePKCE: false
63-
{{- if .Values.enableInternalGitlab }}
64-
gitlab:
65-
issuer: {{ .Values.global.gitlab.url | quote }}
66-
clientID: {{ .Values.gateway.gitlabClientId | default .Values.global.gateway.gitlabClientId | quote }}
67-
scopes: ["openid", "api", "read_user", "read_repository"]
68-
callbackURI: {{ printf "%s/api/auth/callback" (include "renku.baseUrl" .) }}
69-
usePKCE: false
70-
{{- end }}
7163
oldGitLabLogout: {{ .Values.gateway.oldGitLabLogout | default false }}
7264
logoutGitLabUponRenkuLogout: {{ .Values.gateway.logoutGitLabUponRenkuLogout | default true }}
7365
redis:

helm-chart/renku/templates/gateway/deployment-revproxy.yaml

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -71,13 +71,6 @@ spec:
7171
secretKeyRef:
7272
name: {{ cat (include "renku.fullname" .) "-gateway" | nospace }}
7373
key: oidcClientSecret
74-
{{- if .Values.enableInternalGitlab }}
75-
- name: GATEWAY_LOGIN_PROVIDERS_GITLAB_CLIENTSECRET
76-
valueFrom:
77-
secretKeyRef:
78-
name: {{ cat (include "renku.fullname" .) "-gateway" | nospace }}
79-
key: gitlabClientSecret
80-
{{- end }}
8174
- name: GATEWAY_LOGIN_TOKENENCRYPTION_SECRETKEY
8275
valueFrom:
8376
secretKeyRef:
@@ -93,18 +86,6 @@ spec:
9386
secretKeyRef:
9487
name: {{ cat (include "renku.fullname" .) "-gateway" | nospace }}
9588
key: cookieHashKey
96-
{{- if .Values.enableInternalGitlab }}
97-
- name: GATEWAY_LOGIN_PROVIDERS_GITLAB_COOKIEENCODINGKEY
98-
valueFrom:
99-
secretKeyRef:
100-
name: {{ cat (include "renku.fullname" .) "-gateway" | nospace }}
101-
key: cookieEncodingKey
102-
- name: GATEWAY_LOGIN_PROVIDERS_GITLAB_COOKIEHASHKEY
103-
valueFrom:
104-
secretKeyRef:
105-
name: {{ cat (include "renku.fullname" .) "-gateway" | nospace }}
106-
key: cookieHashKey
107-
{{- end }}
10889
- name: GATEWAY_MONITORING_SENTRY_DSN
10990
value: {{ .Values.gateway.sentry.dsn }}
11091
- name: GATEWAY_POSTHOG_ENABLED

helm-chart/renku/values.yaml

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1350,18 +1350,6 @@ secretsStorage:
13501350
tolerations: []
13511351
affinity: {}
13521352

1353-
# When this is set to false the gateway and data service will ignore the Gitlab
1354-
# that can be integrated with Renku and will not ask users to log into this Gitlab.
1355-
# NOTE: This flag has no effect on the core service and knowledge graph. Therefore,
1356-
# setting this to false should only be done if the enableV1Services flag is also false.
1357-
# When this is set to false the gateway will not inject the internal gitlab tokens and
1358-
# the data service will not require them and if tokens are passed it will just ignore them.
1359-
# Setting this to false in existing Renku deployment will result in code repositories
1360-
# that use the internal Gitlab not functioning properly. If you still want to set this
1361-
# to false and keep operating with an internal Gitlab you should create an Integration
1362-
# with the internal Gitlab and ask users to activate the connection.
1363-
enableInternalGitlab: false
1364-
13651353
podSecurityContext: {}
13661354
securityContext:
13671355
runAsUser: 1000

helm-chart/values.yaml.changelog.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ For changes that require manual steps other than changing values, please check o
55
Please follow this convention when adding a new row
66
* `<type: NEW|EDIT|DELETE> - *<resource name>*: <details>`
77

8+
## Upgrading to Renku 2.8.0
9+
10+
* DELETE `enableInternalGitlab`, it is now not possible to configure Renku to use an "internal" GitLab instance. Admins can set up a GitLab integration instead.
11+
812
## Upgrading to Renku 2.15.0
913

1014
* DELETE `global.gateway.cliClientSecret` the client is public and has no secret in Keycloak 25.

0 commit comments

Comments
 (0)