From 68bab9f651893f82eba473ccac6968da4948e2f5 Mon Sep 17 00:00:00 2001 From: Renku Bot Date: Wed, 9 Oct 2024 14:18:32 +0000 Subject: [PATCH 1/6] chore: create release 0.60.0 --- CHANGELOG.rst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CHANGELOG.rst b/CHANGELOG.rst index f5ea1ede8..b75c043bb 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -1,5 +1,9 @@ .. _changelog: +0.60.0 +------ + + 0.59.1 ------ From 7502cda32b80f5cb7e3bacc12678916a99a711ce Mon Sep 17 00:00:00 2001 From: eikek <701128+eikek@users.noreply.github.com> Date: Fri, 11 Oct 2024 20:08:58 +0200 Subject: [PATCH 2/6] chore: Mute selenium dependency updates (#3574) --- .scala-steward.conf | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.scala-steward.conf b/.scala-steward.conf index 0d337b2c6..14bb7f406 100644 --- a/.scala-steward.conf +++ b/.scala-steward.conf @@ -7,3 +7,6 @@ # directory itself also contains a build.sbt the dot can be used to # specify it. Default: ["."] buildRoots = [ "acceptance-tests" ] +updates.ignore = [ + { groupId = "org.seleniumhq.selenium", artifactId = "selenium-java" } +] From b281eb49f7d81507d746b9ba19547733bcc74d7d Mon Sep 17 00:00:00 2001 From: Flora Thiebaut Date: Fri, 25 Oct 2024 15:25:19 +0200 Subject: [PATCH 3/6] feat: allow session TTL values to be set --- helm-chart/renku/templates/gateway/configmap.yaml | 6 ++++++ helm-chart/renku/values.yaml | 13 ++++++++++--- 2 files changed, 16 insertions(+), 3 deletions(-) diff --git a/helm-chart/renku/templates/gateway/configmap.yaml b/helm-chart/renku/templates/gateway/configmap.yaml index c16317725..ab00288a2 100644 --- a/helm-chart/renku/templates/gateway/configmap.yaml +++ b/helm-chart/renku/templates/gateway/configmap.yaml @@ -21,6 +21,12 @@ data: {{- toYaml . | nindent 8 }} {{- end }} sessions: + {{- if .Values.gateway.idleSessionTTLSeconds }} + idleSessionTTLSeconds: {{ .Values.gateway.idleSessionTTLSeconds }} + {{- end }} + {{- if .Values.gateway.maxSessionTTLSeconds }} + maxSessionTTLSeconds: {{ .Values.gateway.maxSessionTTLSeconds }} + {{- end }} authorizationVerifiers: - issuer: {{ printf "%s/realms/%s" (include "renku.keycloakUrl" . | trimSuffix "/") (include "renku.keycloak.realm" .) }} audience: renku diff --git a/helm-chart/renku/values.yaml b/helm-chart/renku/values.yaml index 2d5769a9a..fd42f57d7 100644 --- a/helm-chart/renku/values.yaml +++ b/helm-chart/renku/values.yaml @@ -1266,6 +1266,13 @@ gateway: ## average rate units are requests per second average: 20 burst: 100 + ## How long a session will be kept alive if it is idle. + ## If set to 0 then there is no TTL. + idleSessionTTLSeconds: + ## The maximum duration a session can be kept alive. + ## If set to 0 then there is no TTL. + ## If this value is set to a value other than 0 then it must be greater than idleSessionTTLSeconds. + maxSessionTTLSeconds: ## For production deployment, you will need to define the secret key. ## This is a random string, used for cryptographic operations on cookies and sensitive information. ## Use `openssl rand -hex 32`. @@ -1579,14 +1586,14 @@ dataService: create: true image: repository: renku/renku-data-service - tag: "0.24.0" + tag: "0.24.2" pullPolicy: IfNotPresent backgroundJobs: events: resources: {} image: repository: renku/data-service-background-jobs - tag: "0.24.0" + tag: "0.24.2" pullPolicy: IfNotPresent total: resources: {} @@ -1639,7 +1646,7 @@ authz: secretsStorage: image: repository: renku/secrets-storage - tag: "0.24.0" + tag: "0.24.2" pullPolicy: IfNotPresent service: type: ClusterIP From 95fb634b55ebedf2bd88b675b8d3c67f7bbdc202 Mon Sep 17 00:00:00 2001 From: Flora Thiebaut Date: Fri, 25 Oct 2024 15:26:50 +0200 Subject: [PATCH 4/6] merge-ish change --- helm-chart/renku/values.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/helm-chart/renku/values.yaml b/helm-chart/renku/values.yaml index fd42f57d7..e5016089a 100644 --- a/helm-chart/renku/values.yaml +++ b/helm-chart/renku/values.yaml @@ -1586,14 +1586,14 @@ dataService: create: true image: repository: renku/renku-data-service - tag: "0.24.2" + tag: "0.24.0" pullPolicy: IfNotPresent backgroundJobs: events: resources: {} image: repository: renku/data-service-background-jobs - tag: "0.24.2" + tag: "0.24.0" pullPolicy: IfNotPresent total: resources: {} @@ -1646,7 +1646,7 @@ authz: secretsStorage: image: repository: renku/secrets-storage - tag: "0.24.2" + tag: "0.24.0" pullPolicy: IfNotPresent service: type: ClusterIP From 733673a0e230724d6a7185966f3beea4fd3babff Mon Sep 17 00:00:00 2001 From: Flora Thiebaut Date: Fri, 25 Oct 2024 15:42:40 +0200 Subject: [PATCH 5/6] oopdates --- helm-chart/renku/values.yaml | 2 ++ helm-chart/values.yaml.changelog.md | 5 +++++ 2 files changed, 7 insertions(+) diff --git a/helm-chart/renku/values.yaml b/helm-chart/renku/values.yaml index e5016089a..102e32519 100644 --- a/helm-chart/renku/values.yaml +++ b/helm-chart/renku/values.yaml @@ -1268,10 +1268,12 @@ gateway: burst: 100 ## How long a session will be kept alive if it is idle. ## If set to 0 then there is no TTL. + ## If not set, defaults to 14400 (4 hours). idleSessionTTLSeconds: ## The maximum duration a session can be kept alive. ## If set to 0 then there is no TTL. ## If this value is set to a value other than 0 then it must be greater than idleSessionTTLSeconds. + ## If not set, defaults to 86400 (24 hours). maxSessionTTLSeconds: ## For production deployment, you will need to define the secret key. ## This is a random string, used for cryptographic operations on cookies and sensitive information. diff --git a/helm-chart/values.yaml.changelog.md b/helm-chart/values.yaml.changelog.md index 756465bed..21e95d91d 100644 --- a/helm-chart/values.yaml.changelog.md +++ b/helm-chart/values.yaml.changelog.md @@ -5,6 +5,11 @@ For changes that require manual steps other than changing values, please check o Please follow this convention when adding a new row * ` - **:
` +## Upgrading to Renku 0.60.0 + +* NEW ``gateway.idleSessionTTLSeconds`` to set the session idle TTL in sexonds. +* NEW ``gateway.maxSessionTTLSeconds`` to set the session max TTL in sexonds. + ## Upgrading to Renku 0.59.1 * NEW ``notebooks.bypassCacheOnFailure`` has been added. Setting this to false prevents renku-notebooks to call From f402a661820e3019feb7b5de425edfa0787b2959 Mon Sep 17 00:00:00 2001 From: Flora Thiebaut Date: Mon, 28 Oct 2024 09:07:46 +0100 Subject: [PATCH 6/6] Update helm-chart/values.yaml.changelog.md Co-authored-by: Ralf Grubenmann --- helm-chart/values.yaml.changelog.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/helm-chart/values.yaml.changelog.md b/helm-chart/values.yaml.changelog.md index 21e95d91d..f629dbb9b 100644 --- a/helm-chart/values.yaml.changelog.md +++ b/helm-chart/values.yaml.changelog.md @@ -7,8 +7,8 @@ Please follow this convention when adding a new row ## Upgrading to Renku 0.60.0 -* NEW ``gateway.idleSessionTTLSeconds`` to set the session idle TTL in sexonds. -* NEW ``gateway.maxSessionTTLSeconds`` to set the session max TTL in sexonds. +* NEW ``gateway.idleSessionTTLSeconds`` to set the session idle TTL in seconds. +* NEW ``gateway.maxSessionTTLSeconds`` to set the session max TTL in seconds. ## Upgrading to Renku 0.59.1