Skip to content

Commit 9956e0f

Browse files
authored
Merge pull request #7951 from sean-morris/main
[CloudBank] Add hmc
2 parents d9d4819 + 3a75f9b commit 9956e0f

File tree

4 files changed

+96
-0
lines changed

4 files changed

+96
-0
lines changed

config/clusters/cloudbank/cluster.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -229,6 +229,14 @@ hubs:
229229
- common.values.yaml
230230
- high.values.yaml
231231
- enc-high.secret.values.yaml
232+
- name: hmc
233+
display_name: Harvey Mudd College
234+
domain: hmc.cloudbank.2i2c.cloud
235+
helm_chart: basehub
236+
helm_chart_values_files:
237+
- common.values.yaml
238+
- hmc.values.yaml
239+
- enc-hmc.secret.values.yaml
232240
- name: humboldt
233241
display_name: Cal Poly Humboldt
234242
domain: humboldt.cloudbank.2i2c.cloud
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
jupyterhub:
2+
hub:
3+
config:
4+
CILogonOAuthenticator:
5+
client_id: ENC[AES256_GCM,data:76YgXZBAfu+XbpjbXkkUn5IVbYQMdCu6lAkcxP5btGDbwP7ZGuZD7bdBw7vvZ6EdVKwr,iv:zW9inZHDAmWuQpuiuehFdG1Xx2eDM16lpUnQ4bj9nNo=,tag:VL7sUdKQpD0HfxHzEdWlIA==,type:str]
6+
client_secret: ENC[AES256_GCM,data:kKP+yic3u0cb+zin9sOPz4f6VkxrewuyIsmss9aP4D4MzVnlRrbxiS8GfDdAw04iCxeYGCsI2U0UjyFy84ppEGQ6xUqbl7W5uK4kN1HQV+eMXW4iuFU=,iv:UqNNFKPNmUOf5v3Z4i+xgubqqfNmLKvna3ms1vwvfDI=,tag:tOOfB2MQn86YY//luoIriQ==,type:str]
7+
sops:
8+
gcp_kms:
9+
- resource_id: projects/two-eye-two-see/locations/global/keyRings/sops-keys/cryptoKeys/similar-hubs
10+
created_at: '2026-03-18T16:55:27Z'
11+
enc: CiUA4OM7eC53eylntHSXcCQGl33HdEsKxCjJvixQotKYdLoPA9qxEkkAPHlbmUQCVnJqRYA9WZtoc3PZ/3pINzN93pkp/Hhc9g2MRNWKSTwuBWF7JGBN69Q2EW5DtxBfFyxWemfQL0ETK9wwSDKYgqYj
12+
lastmodified: '2026-03-18T16:55:28Z'
13+
mac: ENC[AES256_GCM,data:hyC5s8zoC0GC43wrzi4a0A+WXYbTPyOnG1iY6JcBFcSjBEDl6N0oV8tRuwFGWVckVg3OUGpV9SaGCK39GgefpHaEuLgiH4y3DROZdA13EG+DdNnns7usVKNFJAxh4aBSahKP0uGwCDQJSTR2R+T3o6lcGYV+QTZsH6KB00wFdZI=,iv:QTZZO8t6lTURtRSSkQOYJBJJS87i/0J6aC0BPrmJaWM=,tag:hrg7WU1LZetJhgxsp905Mg==,type:str]
14+
unencrypted_suffix: _unencrypted
15+
version: 3.11.0
Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
jupyterhub:
2+
ingress:
3+
hosts: [hmc.cloudbank.2i2c.cloud]
4+
tls:
5+
- hosts: [hmc.cloudbank.2i2c.cloud]
6+
secretName: https-auto-tls
7+
prePuller:
8+
# hook prePuller shouldn't be enabled when configuring images in any other
9+
# way than singleuser.image
10+
hook:
11+
enabled: true
12+
singleuser:
13+
memory:
14+
guarantee: 512M
15+
limit: 1G
16+
custom:
17+
2i2c:
18+
add_staff_user_ids_to_admin_users: true
19+
add_staff_user_ids_of_type: google
20+
homepage:
21+
templateVars:
22+
org:
23+
name: Harvey Mudd College
24+
logo_url: https://www.hmc.edu/communications/wp-content/uploads/sites/19/2023/08/College-logo-sample-1.png
25+
url: https://www.hmc.edu/
26+
designed_by:
27+
name: 2i2c
28+
url: https://2i2c.org
29+
operated_by:
30+
name: CloudBank
31+
url: http://cloudbank.org/
32+
funded_by:
33+
name: CloudBank
34+
url: http://cloudbank.org/
35+
hub:
36+
config:
37+
JupyterHub:
38+
authenticator_class: cilogon
39+
CILogonOAuthenticator:
40+
oauth_callback_url: https://hmc.cloudbank.2i2c.cloud/hub/oauth_callback
41+
allowed_idps:
42+
https://sso.hmc.edu/idp:
43+
default: true
44+
username_derivation:
45+
username_claim: email
46+
allow_all: true
47+
http://google.com/accounts/o8/id:
48+
username_derivation:
49+
username_claim: email
50+
allowed_domains:
51+
- humboldt.edu
52+
Authenticator:
53+
admin_users:
54+
- ericvd@berkeley.edu
55+
- sean.smorris@berkeley.edu
56+
- dodds@cs.hmc.edu
57+
cull:
58+
# Cull after 30min of inactivity
59+
every: 300
60+
timeout: 1800
61+
# No pods over 12h long
62+
maxAge: 43200
63+
jupyterhub-home-nfs:
64+
gke:
65+
volumeId: projects/cb-1003-1696/zones/us-central1-b/disks/hub-nfs-homedirs-hmc
66+
67+
nfs:
68+
pv:
69+
serverIP: storage-quota-home-nfs.hmc.svc.cluster.local

terraform/gcp/projects/cloudbank.tfvars

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,10 @@ persistent_disks = {
114114
size = 120
115115
name_suffix = "high"
116116
}
117+
"hmc" = {
118+
size = 25
119+
name_suffix = "hmc"
120+
}
117121
"humboldt" = {
118122
size = 200
119123
name_suffix = "humboldt"

0 commit comments

Comments
 (0)