Skip to content

Commit

Permalink
Merge pull request #3856 from yuvipanda/user-sa
Browse files Browse the repository at this point in the history
Move service account specification to basehub
  • Loading branch information
consideRatio authored Mar 27, 2024
2 parents c4d9839 + c2bd154 commit d858a4b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
1 change: 0 additions & 1 deletion config/clusters/nasa-esdis/common.values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ jupyterhub:
# We want to access IAM roles here, even though this is not set up to use dask
cloudMetadata:
blockWithIptables: false
serviceAccountName: user-sa
defaultUrl: /lab
profileList:
- display_name: "Modified Pangeo Notebook"
Expand Down
5 changes: 5 additions & 0 deletions helm-charts/basehub/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,11 @@ jupyterhub:
limits:
memory: 1Gi
singleuser:
# basehub creates a k8s ServiceAccount for the hubs users that isn't granted
# permissions to the k8s api-server or other resources by default. Cloud
# infra permissions can be granted to all users by declaring annotations on
# this k8s ServiceAccount via basehub config userServiceAccount.annotations.
serviceAccountName: user-sa
# Need to explicitly fix ownership here, as otherwise these directories will be owned
# by root on most NFS filesystems - neither EFS nor Google Filestore support anonuid
#
Expand Down
1 change: 0 additions & 1 deletion helm-charts/daskhub/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ basehub:
# storage buckets.
#
blockWithIptables: false
serviceAccountName: user-sa
extraEnv:
# About DASK_ prefixed variables we set:
#
Expand Down

0 comments on commit d858a4b

Please sign in to comment.