From 97656e2605681e1e3441fc18468d3fb1eb8e77cd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Franti=C5=A1ek=20Dvo=C5=99=C3=A1k?= <valtri@civ.zcu.cz>
Date: Thu, 1 Aug 2024 10:53:56 +0000
Subject: [PATCH] Update secrets location for devel and testing instances

---
 cesnet-central/deployments/fullhub.yaml | 1 +
 testing/deployments/hub.yaml            | 1 +
 2 files changed, 2 insertions(+)

diff --git a/cesnet-central/deployments/fullhub.yaml b/cesnet-central/deployments/fullhub.yaml
index 0d1c88e..9f69863 100644
--- a/cesnet-central/deployments/fullhub.yaml
+++ b/cesnet-central/deployments/fullhub.yaml
@@ -330,6 +330,7 @@ hub:
 
 
       c.JupyterHub.spawner_class = WebDavOIDCSpawner
+      c.B2DropSpawner.token_mount_path = "/var/run/secrets/oidc/"
       c.B2DropSpawner.http_timeout = 90
       c.B2DropSpawner.profile_form_template = """
         <style>
diff --git a/testing/deployments/hub.yaml b/testing/deployments/hub.yaml
index 03ebecd..f4ca97b 100644
--- a/testing/deployments/hub.yaml
+++ b/testing/deployments/hub.yaml
@@ -349,6 +349,7 @@ hub:
 
 
       c.JupyterHub.spawner_class = WebDavOIDCSpawner
+      c.B2DropSpawner.token_mount_path = "/var/run/secrets/oidc/"
       c.B2DropSpawner.http_timeout = 90
       c.B2DropSpawner.profile_form_template = """
         <style>
-- 
GitLab