Skip to content

Commit

Permalink
feat: contrain the container gids
Browse files Browse the repository at this point in the history
  • Loading branch information
rokroskar committed Mar 26, 2020
1 parent ca1381f commit 84066c1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions jupyterhub/spawners.py
Original file line number Diff line number Diff line change
Expand Up @@ -261,6 +261,9 @@ def get_pod_manifest(self):

self.delete_grace_period = 30

self.gid = 100
self.supplemental_gids = [1000]

pod = yield super().get_pod_manifest()

# Because repository comes from a coroutine, we can't put it simply in `get_env()`
Expand Down

0 comments on commit 84066c1

Please sign in to comment.