Skip to content

Commit

Permalink
Merge pull request #5089 from ryanlovett/dev-r-profile-misc
Browse files Browse the repository at this point in the history
Create a per-course profile.
  • Loading branch information
ryanlovett authored Sep 29, 2023
2 parents 82b5893 + e008a2b commit 63ea48b
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions deployments/dev-r/config/common.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,11 @@ jupyterhub:
#- rylo
#- sknapp

# List of other admin users
extraConfig:
20-hubHome: |
# Direct users to named server list
c.JupyterHub.default_url = '/hub/home'
loadRoles:
course-staff-1524699:
description: Enable course staff to view and access servers.
Expand All @@ -46,7 +50,7 @@ jupyterhub:
- course::1524699::enrollment_type::ta

singleuser:
defaultUrl: /hub/home
defaultUrl: /rstudio
profileList:
- display_name: "Dockerfile image"
description: "This is the original dev-r image."
Expand All @@ -55,6 +59,14 @@ jupyterhub:
description: "A newer repo2docker-based image with similar components as the primary."
kubespawner_override:
image: us-central1-docker.pkg.dev/ucb-datahub-2018/user-images/dev-r-secondary:5c55c90
- display_name: "1524699: DataHub Infrastructure"
slug: "1524699"
description: "Regular image with per-course subpath."
kubespawner_override:
volume_mounts:
- name: home
mountPath: /home/jovyan
subPath: "{username}/1524699"
nodeSelector:
hub.jupyter.org/pool-name: small-courses-pool
storage:
Expand Down

0 comments on commit 63ea48b

Please sign in to comment.