From 5f96908cf47b895f1e2fe538a75c9942d2fe536e Mon Sep 17 00:00:00 2001
From: Enol Fernandez <enol.fernandez@egi.eu>
Date: Fri, 2 Aug 2024 10:38:00 +0100
Subject: [PATCH] Disable labnews

---
 common/deployments/hub-staging.yaml | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/common/deployments/hub-staging.yaml b/common/deployments/hub-staging.yaml
index 7ace60b..4891546 100644
--- a/common/deployments/hub-staging.yaml
+++ b/common/deployments/hub-staging.yaml
@@ -125,6 +125,15 @@ singleuser:
           --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": {
+            "fetchNews": "false"
+          }
+        }
 
 hub:
   services:
-- 
GitLab