From 20739aadecc77c9da3407203c2c5fc55795b9d04 Mon Sep 17 00:00:00 2001 From: Masaki Yatsu Date: Fri, 5 Sep 2025 18:29:29 +0900 Subject: [PATCH] fix(jupyterhub): fix setting pre-spawn hook --- jupyterhub/jupyterhub-values.gomplate.yaml | 2 +- jupyterhub/justfile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/jupyterhub/jupyterhub-values.gomplate.yaml b/jupyterhub/jupyterhub-values.gomplate.yaml index 6ed9984..2003471 100644 --- a/jupyterhub/jupyterhub-values.gomplate.yaml +++ b/jupyterhub/jupyterhub-values.gomplate.yaml @@ -116,7 +116,7 @@ hub: import traceback spawner.log.error("Full traceback: {}".format(traceback.format_exc())) - c.Spawner.pre_spawn_hook = pre_spawn_hook + c.KubeSpawner.pre_spawn_hook = pre_spawn_hook podSecurityContext: diff --git a/jupyterhub/justfile b/jupyterhub/justfile index bde7a96..f5e58ea 100644 --- a/jupyterhub/justfile +++ b/jupyterhub/justfile @@ -25,7 +25,7 @@ export NOTEBOOK_VAULT_TOKEN_MAX_TTL := env("NOTEBOOK_VAULT_TOKEN_MAX_TTL", "720h export KEYCLOAK_REALM := env("KEYCLOAK_REALM", "buunstack") export LONGHORN_NAMESPACE := env("LONGHORN_NAMESPACE", "longhorn") export VAULT_ADDR := env("VAULT_ADDR", "http://vault.vault.svc:8200") -export JUPYTER_BUUNSTACK_LOG_LEVEL := env("JUPYTER_BUUNSTACK_LOG_LEVEL", "info") +export JUPYTER_BUUNSTACK_LOG_LEVEL := env("JUPYTER_BUUNSTACK_LOG_LEVEL", "warning") [private] default: