Skip to content

Commit

Permalink
Merge branch 'release-0.60.0' into leafty/gateway-debug-mode
Browse files Browse the repository at this point in the history
  • Loading branch information
leafty authored Oct 28, 2024
2 parents 7f634c6 + 34d7cf8 commit 65cd430
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 0 deletions.
6 changes: 6 additions & 0 deletions helm-chart/renku/templates/gateway/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,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
Expand Down
9 changes: 9 additions & 0 deletions helm-chart/renku/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1266,6 +1266,15 @@ 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.
## 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.
## Use `openssl rand -hex 32`.
Expand Down
2 changes: 2 additions & 0 deletions helm-chart/values.yaml.changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +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 seconds.
* NEW ``gateway.maxSessionTTLSeconds`` to set the session max TTL in seconds.
* NEW ``gateway.debug`` to enable debug logs from the gateway.

## Upgrading to Renku 0.59.1
Expand Down

0 comments on commit 65cd430

Please sign in to comment.