From 9941da5dbfe164d96332100f0dd2fb93c5473584 Mon Sep 17 00:00:00 2001 From: YuviPanda Date: Wed, 8 Nov 2023 17:16:49 +0530 Subject: [PATCH] openscapes: Fix extraVolumeMounts being overriden Follow-up to https://github.com/2i2c-org/infrastructure/pull/3388, which otherwise basically just didn't mount home directories at all! Fixes https://github.com/2i2c-org/infrastructure/pull/3388 --- config/clusters/openscapes/common.values.yaml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/config/clusters/openscapes/common.values.yaml b/config/clusters/openscapes/common.values.yaml index 5b6456e4cc..3510ad9214 100644 --- a/config/clusters/openscapes/common.values.yaml +++ b/config/clusters/openscapes/common.values.yaml @@ -36,10 +36,19 @@ basehub: defaultUrl: /lab storage: extraVolumeMounts: + # Copy paste from basehub/values.yaml because we want + # `shared` to be readwrite for *everyone* - name: home mountPath: /home/jovyan/shared subPath: _shared readOnly: false + - name: home + mountPath: /home/rstudio + subPath: "{username}" + - name: home + mountPath: /home/rstudio/shared + subPath: _shared + readOnly: true scheduling: userScheduler: enabled: true