From aaea1a1aebf90a0bb0d17cbc7d3ade66be7883be Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vi=C5=A1=C5=88ovsk=C3=BD?= <467814@mail.muni.cz> Date: Mon, 5 Jun 2023 13:03:02 +0200 Subject: [PATCH] added sec-hook --- jupyterhub/sec.py | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 jupyterhub/sec.py diff --git a/jupyterhub/sec.py b/jupyterhub/sec.py new file mode 100644 index 0000000..7a61fd5 --- /dev/null +++ b/jupyterhub/sec.py @@ -0,0 +1,2 @@ +async def bootstrap_pre_spawn(spawner): + spawner.container_security_context = {"capabilities": {"drop": ["ALL"]}} -- GitLab