From 163911eed0429eaf39b68e2551038b2ad72bc91e Mon Sep 17 00:00:00 2001 From: Enol Fernandez Date: Wed, 20 Nov 2024 14:46:31 +0000 Subject: [PATCH] Rename to `mount_secrets_volume` --- egi_notebooks_hub/egispawner.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/egi_notebooks_hub/egispawner.py b/egi_notebooks_hub/egispawner.py index 6e9c930..22343c9 100644 --- a/egi_notebooks_hub/egispawner.py +++ b/egi_notebooks_hub/egispawner.py @@ -174,7 +174,7 @@ async def pre_spawn_hook(self, spawner): await self._update_secret({}) def _adjust_secret_volume(self, profile): - if not profile.get("no_secrets", False): + if profile.get("mount_secrets_volume", True): return profile volume_mounts = profile.get("volume_mounts", self.volume_mounts) new_mounts = []