From c945134090ced7927106e7182f9dc7f879b209e1 Mon Sep 17 00:00:00 2001 From: William Hearn Date: Sat, 2 Jan 2021 20:32:45 -0500 Subject: [PATCH] feat(kale): Add kale namespace logic --- output/JupyterLab-CPU/start-custom.sh | 1 + output/JupyterLab-PyTorch/start-custom.sh | 1 + output/JupyterLab-Tensorflow/start-custom.sh | 1 + output/RStudio/start-custom.sh | 1 + resources/start-custom.sh | 1 + 5 files changed, 5 insertions(+) diff --git a/output/JupyterLab-CPU/start-custom.sh b/output/JupyterLab-CPU/start-custom.sh index a996fd4d9..f8975c09c 100755 --- a/output/JupyterLab-CPU/start-custom.sh +++ b/output/JupyterLab-CPU/start-custom.sh @@ -33,6 +33,7 @@ fi # Configure KFP multi-user if [ -n "${NB_NAMESPACE}" ]; then +mkdir -p $HOME/.config/kfp cat < $HOME/.config/kfp/context.json {"namespace": "${NB_NAMESPACE}"} EOF diff --git a/output/JupyterLab-PyTorch/start-custom.sh b/output/JupyterLab-PyTorch/start-custom.sh index a996fd4d9..f8975c09c 100755 --- a/output/JupyterLab-PyTorch/start-custom.sh +++ b/output/JupyterLab-PyTorch/start-custom.sh @@ -33,6 +33,7 @@ fi # Configure KFP multi-user if [ -n "${NB_NAMESPACE}" ]; then +mkdir -p $HOME/.config/kfp cat < $HOME/.config/kfp/context.json {"namespace": "${NB_NAMESPACE}"} EOF diff --git a/output/JupyterLab-Tensorflow/start-custom.sh b/output/JupyterLab-Tensorflow/start-custom.sh index a996fd4d9..f8975c09c 100755 --- a/output/JupyterLab-Tensorflow/start-custom.sh +++ b/output/JupyterLab-Tensorflow/start-custom.sh @@ -33,6 +33,7 @@ fi # Configure KFP multi-user if [ -n "${NB_NAMESPACE}" ]; then +mkdir -p $HOME/.config/kfp cat < $HOME/.config/kfp/context.json {"namespace": "${NB_NAMESPACE}"} EOF diff --git a/output/RStudio/start-custom.sh b/output/RStudio/start-custom.sh index a996fd4d9..f8975c09c 100755 --- a/output/RStudio/start-custom.sh +++ b/output/RStudio/start-custom.sh @@ -33,6 +33,7 @@ fi # Configure KFP multi-user if [ -n "${NB_NAMESPACE}" ]; then +mkdir -p $HOME/.config/kfp cat < $HOME/.config/kfp/context.json {"namespace": "${NB_NAMESPACE}"} EOF diff --git a/resources/start-custom.sh b/resources/start-custom.sh index a996fd4d9..f8975c09c 100755 --- a/resources/start-custom.sh +++ b/resources/start-custom.sh @@ -33,6 +33,7 @@ fi # Configure KFP multi-user if [ -n "${NB_NAMESPACE}" ]; then +mkdir -p $HOME/.config/kfp cat < $HOME/.config/kfp/context.json {"namespace": "${NB_NAMESPACE}"} EOF