From f8883f82a864f9a38d4a73a05fa5233e2a46620e Mon Sep 17 00:00:00 2001 From: Pris Nasrat Date: Mon, 22 May 2023 08:25:00 -0400 Subject: [PATCH] utoronto: Fix R hubs to use correct working_dir for user servers Fixes: #2559 --- config/clusters/utoronto/r-common.values.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/config/clusters/utoronto/r-common.values.yaml b/config/clusters/utoronto/r-common.values.yaml index 857ae31567..e1669296cd 100644 --- a/config/clusters/utoronto/r-common.values.yaml +++ b/config/clusters/utoronto/r-common.values.yaml @@ -4,6 +4,12 @@ jupyterhub: templateVars: # This sets the default selected interface option default_url: /rstudio + hub: + config: + KubeSpawner: + # Ensures container working dir is homedir + # https://github.com/2i2c-org/infrastructure/issues/2559 + working_dir: /home/rstudio singleuser: storage: # From https://jupyterhub-image.guide/rocker.html#step-7-setup-zero-to-jupyterhub-configuration-for-home-directory