Skip to content

Commit

Permalink
Rename to mount_secrets_volume
Browse files Browse the repository at this point in the history
  • Loading branch information
enolfc committed Nov 20, 2024
1 parent fd054e7 commit 163911e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion egi_notebooks_hub/egispawner.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 = []
Expand Down

0 comments on commit 163911e

Please sign in to comment.