From 98681cc818f1abc22508254e992ec5a982fa51f0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Franti=C5=A1ek=20Dvo=C5=99=C3=A1k?= <valtri@civ.zcu.cz>
Date: Mon, 5 Aug 2024 10:04:02 +0000
Subject: [PATCH] Jupyterhub 5.x with RTC

---
 cesnet-central/deployments/fullhub.yaml | 2 ++
 common/deployments/hub-staging.yaml     | 2 ++
 testing/deployments/hub.yaml            | 2 ++
 3 files changed, 6 insertions(+)

diff --git a/cesnet-central/deployments/fullhub.yaml b/cesnet-central/deployments/fullhub.yaml
index 7531c0a..5453959 100644
--- a/cesnet-central/deployments/fullhub.yaml
+++ b/cesnet-central/deployments/fullhub.yaml
@@ -73,6 +73,8 @@ singleuser:
         extra_annotations:
           "egi.eu/flavor": "small-environment-2-vcpu-4-gb-ram"
   cmd: jupyterhub-singleuser-webdav-wrapper
+  extraEnv:
+    JUPYTERHUB_ALLOW_TOKEN_IN_URL: "1"
   extraFiles:
     wait-remote-home.sh:
       mode: 0755
diff --git a/common/deployments/hub-staging.yaml b/common/deployments/hub-staging.yaml
index 1723d1d..9f3aa05 100644
--- a/common/deployments/hub-staging.yaml
+++ b/common/deployments/hub-staging.yaml
@@ -92,6 +92,8 @@ singleuser:
         extra_resource_limits:
           nvidia.com/gpu: 1
   cmd: jupyterhub-singleuser-webdav-wrapper
+  extraEnv:
+    JUPYTERHUB_ALLOW_TOKEN_IN_URL: "1"
   extraFiles:
     wait-remote-home.sh:
       mode: 0755
diff --git a/testing/deployments/hub.yaml b/testing/deployments/hub.yaml
index f53470b..3b69914 100644
--- a/testing/deployments/hub.yaml
+++ b/testing/deployments/hub.yaml
@@ -93,6 +93,8 @@ singleuser:
         extra_resource_limits:
           nvidia.com/gpu: 1
   cmd: jupyterhub-singleuser-webdav-wrapper
+  extraEnv:
+    JUPYTERHUB_ALLOW_TOKEN_IN_URL: "1"
   extraFiles:
     wait-remote-home.sh:
       mode: 0755
-- 
GitLab