Skip to content

Commit fcb4229

Browse files
committed
WIP: UI-specific configuration of legacy support (do not merge)
1 parent d3bebb0 commit fcb4229

3 files changed

Lines changed: 6 additions & 1 deletion

File tree

helm-chart/renku/templates/ui/ui-client-deployment-template.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ spec:
9999
- name: IMAGE_BUILDERS_ENABLED
100100
value: {{ .Values.dataService.imageBuilders.enabled | quote }}
101101
- name: LEGACY_SUPPORT
102-
value: {{ printf "{\"enabled\": %t }" .Values.enableV1Services | quote }}
102+
value: {{ toJson .Values.ui.client.legacySupport | quote }}
103103
livenessProbe:
104104
httpGet:
105105
path: /

helm-chart/renku/values.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -675,6 +675,10 @@ ui:
675675
# overrides:
676676
# 9: "/"
677677
# 10: "/"
678+
# Configuration to enable/disable support for Renku legacy pages
679+
legacySupport:
680+
# Set this to "false" to disable support for Renku legacy
681+
enabled: true
678682
# Configuration to display the "email us" message on the session class selector.
679683
sessionClassEmailUs:
680684
# Set this to "true" to enable the "Need more compute resources? Email us!" message

helm-chart/values.yaml.changelog.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ Please follow this convention when adding a new row
1111

1212
This will result in 2 fewer deployments in your cluster. If the values are left in the values file they will be ignored. Therefore this does not require immediate action by administrators, it is just good practice to remove deprecated sections that you may have in your values file.
1313

14+
* NEW ``ui.client.legacySupport`` to control whether Renku Legacy is supported in the UI.
1415
* DELETE `ui.client.podSecurityContext`, replaced by `podSecurityContext`
1516
* DELETE `ui.client.securityContext`, replaced by `securityContext`
1617
* DELETE `ui.server.podSecurityContext`, replaced by `podSecurityContext`

0 commit comments

Comments
 (0)