-
Notifications
You must be signed in to change notification settings - Fork 39
/
Copy pathcommon.yaml
90 lines (84 loc) · 2.55 KB
/
common.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
nfsPVC:
enabled: true
nfs:
serverIP: 10.248.240.202
jupyterhub:
scheduling:
userScheduler:
nodeSelector:
hub.jupyter.org/pool-name: core-pool-2023-12-21
proxy:
chp:
nodeSelector:
hub.jupyter.org/pool-name: core-pool-2023-12-21
traefik:
nodeSelector:
hub.jupyter.org/pool-name: core-pool-2023-12-21
hub:
config:
loadRoles:
# datahub staff
datahub-staff:
description: Enable admin for datahub staff
# this role provides permissions to...
scopes:
- admin-ui
- admin:groups
- admin:users
- admin:servers
- read:roles
- read:hub
- access:servers
# this role will be assigned to...
groups:
- course::1524699::group::all-admins
## Data 140, Spring 2024, #xyz
#course-staff-N:
# description: Enable course staff to view and access servers.
# # this role provides permissions to...
# scopes:
# - admin-ui
# - list:users!group=course::N
# - admin:servers!group=course::N
# - access:servers!group=course::N
# # this role will be assigned to...
# groups:
# - course::N::enrollment_type::teacher
# - course::N::enrollment_type::ta
## Data C140, Spring 2024, #https://github.com/berkeley-dsep-infra/datahub/issues/5466
course-staff-1533557:
# description: Enable course staff to view and access servers.
# this role provides permissions to...
scopes:
- admin-ui
- list:users!group=course::1533557
- admin:servers!group=course::1533557
- access:servers!group=course::1533557
# this role will be assigned to...
groups:
- course::1533557::enrollment_type::teacher
- course::1533557::enrollment_type::ta
nodeSelector:
hub.jupyter.org/pool-name: core-pool-2023-12-21
singleuser:
extraFiles:
# DH-216
remove-exporters:
mountPath: /etc/jupyter/jupyter_notebook_config.py
stringData: |
c.QtPDFExporter.enabled = False
c.WebPDFExporter.enabled = False
extraEnv:
# Unset NotebookApp from hub/values. Necessary for recent lab versions.
JUPYTERHUB_SINGLEUSER_APP: "jupyter_server.serverapp.ServerApp"
nodeSelector:
hub.jupyter.org/pool-name: prob140-pool
storage:
type: static
static:
pvcName: home-nfs-v3
subPath: "{username}"
memory:
guarantee: 512M
limit: 1G
image: {}