diff --git a/cesnet-central/deployments/fullhub.yaml b/cesnet-central/deployments/fullhub.yaml index 5e0e969710d1232185bbbda95ab8ab0f855760c0..056ea6fde85de001a846553cece991e865692c67 100644 --- a/cesnet-central/deployments/fullhub.yaml +++ b/cesnet-central/deployments/fullhub.yaml @@ -104,9 +104,27 @@ singleuser: exec jupyterhub-singleuser \ --FileCheckpoints.checkpoint_dir='/home/jovyan/.notebookCheckpoints' \ - --LabApp.news_url=None \ --NotebookNotary.db_file=':memory:' \ "$@" + disable-labnews: + mode: 0644 + mountPath: /opt/conda/share/jupyter/lab/settings/overrides.json + stringData: |- + { + "@jupyterlab/apputils-extension:notification": { + "checkForUpdates": "false", + "fetchNews": "false" + }, + "@jupyterlab/application-extension:context-menu": { + "contextMenu": [ + { + "command": "filebrowser:share-main", + "selector": ".jp-DirListing-item[data-isdir]", + "disabled": true + } + ] + } + } hub: services: diff --git a/common/deployments/hub-staging.yaml b/common/deployments/hub-staging.yaml index 29ec602f460b02135d1719a80e78d5cd02a46672..d56488df4c7ae713cd8e9894421d7ab7107e3a9c 100644 --- a/common/deployments/hub-staging.yaml +++ b/common/deployments/hub-staging.yaml @@ -122,7 +122,6 @@ singleuser: exec jupyterhub-singleuser \ --FileCheckpoints.checkpoint_dir='/home/jovyan/.notebookCheckpoints' \ - --LabApp.news_url=None \ --NotebookNotary.db_file=':memory:' \ "$@" disable-labnews: diff --git a/testing/deployments/hub.yaml b/testing/deployments/hub.yaml index 611c6332b9c9b1c14d182f0a109906365b6985b7..76934d368b8fcb603def62c56b68f52a7924acb8 100644 --- a/testing/deployments/hub.yaml +++ b/testing/deployments/hub.yaml @@ -123,9 +123,27 @@ singleuser: exec jupyterhub-singleuser \ --FileCheckpoints.checkpoint_dir='/home/jovyan/.notebookCheckpoints' \ - --LabApp.news_url=None \ --NotebookNotary.db_file=':memory:' \ "$@" + disable-labnews: + mode: 0644 + mountPath: /opt/conda/share/jupyter/lab/settings/overrides.json + stringData: |- + { + "@jupyterlab/apputils-extension:notification": { + "checkForUpdates": "false", + "fetchNews": "false" + }, + "@jupyterlab/application-extension:context-menu": { + "contextMenu": [ + { + "command": "filebrowser:share-main", + "selector": ".jp-DirListing-item[data-isdir]", + "disabled": true + } + ] + } + } hub: services: