Skip to content

Commit

Permalink
Merge pull request #1507 from GeorgianaElena/neurohackademy-hub
Browse files Browse the repository at this point in the history
Neurohackademy hub
  • Loading branch information
GeorgianaElena authored Jul 13, 2022
2 parents 0c3e4a7 + 0aeab0d commit eb691a8
Show file tree
Hide file tree
Showing 3 changed files with 105 additions and 0 deletions.
14 changes: 14 additions & 0 deletions config/clusters/2i2c/cluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,20 @@ hubs:
# that you intend for these files to be applied in this order.
- enc-demo.secret.values.yaml
- demo.values.yaml
- name: neurohackademy
display_name: "NeuroHackademy"
domain: neurohackademy.2i2c.cloud
helm_chart: basehub
auth0:
# connection update? Also ensure the basehub Helm chart is provided a
# matching value for jupyterhub.custom.2i2c.add_staff_user_ids_of_type!
enabled: false
helm_chart_values_files:
# The order in which you list files here is the order the will be passed
# to the helm upgrade command in, and that has meaning. Please check
# that you intend for these files to be applied in this order.
- enc-neurohackademy.secret.values.yaml
- neurohackademy.values.yaml
- name: ohw
display_name: "Ocean Hack Week"
domain: ohw.pilot.2i2c.cloud
Expand Down
25 changes: 25 additions & 0 deletions config/clusters/2i2c/enc-neurohackademy.secret.values.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
jupyterhub:
hub:
config:
CILogonOAuthenticator:
client_id: ENC[AES256_GCM,data:7kYjd2ttsN9fxOnjBE9smf0LtKwamoSb8mRC3r4UpBITXDddFDkHjyM38oKIUcUZGTI=,iv:+BYvfjEMeUeklid59c+23mmopZdp+AO+L1z6JABN6Aw=,tag:xF3tq1uugpTRgEs3pM/fBA==,type:str]
client_secret: ENC[AES256_GCM,data:YmECViTJDjHN+kKh66PlEnXKzyVwe/MgLIATAHUTDQOizyWIbC541amBm1xD9f3Wle5/7QCmL2dIxy5ZQ2jGco/4jLIjjBT8kTGriy7PVu9pdBjERmU=,iv:Pljc97osjQTffnnAFwkFAOX5thVOmFBdkvRMIkRCxc4=,tag:sqTn9/vGDnLiCGn9l7UNpA==,type:str]
staticWebsite:
githubAuth:
githubApp:
id: ENC[AES256_GCM,data:hAosDE7d,iv:K1WL1/FuKXb6eOdjypr0nhmIgDm+Eq3ESy54NyQ54SM=,tag:dBahRETAv8LOaiChOu9LTQ==,type:int]
privateKey: ENC[AES256_GCM,data:hmRkjLUZYc7D254P6hKlE6cqGeavKOMWEZZ6P+DHFGr/omFvTigo6UEwGi23YY2WUTwGzSprbaZYwCaMZ3ddPwwyvHSuEDM3lh99F/qIIv2aeIZ2IOMmu7q6fezjWP7EQlrrkxdon73ekcFTig9EzsqVHuh6E2gi9Eb0u1sX7U2VKR/+5WpiEf7DFyz/pJbtQSQvrI3QV6Ma7cGHyWxRyAE/51fQpBp7uW4+vIwATTIbJiDuoca/aCgx2CLwP5VtEIPXD1eFJBhR/bjFPm5TzFUGyVz1PiinN8JWLm7Cfgy//bjoLXvKIvCYWCxfVX1SlZPEorxuRM/eaCknSnoJDZ3+sPu+7lIajGubujBvEuDudpQZLicGfbJO3SSMTozli7VRMKKRcGaaDWbD5PLyePiX8EkrbhdSeWPp+7TIxH9UYHgOYobYkyZf3npAR5V6ktSC86p5gPDXzKOTEdSK4lMoohQPA7wqeUhNvcQ3M0zbce0hjOk97njlkJYscLU5rcWi2Ya4yS0kKshZSpISp8ojN84B0pFo7OPgwp//BJStUsC3mHReIRvn6z1qsrEidFAgmi9QYJMA8agaYPWKadsbib9HxJQQru9fXomen+5gfeGP4Bmz53REk1zSuwlXS+/NXOYF2yEqDl5JzjEE9T3Fi4D3GXjprEXJn2cj+8drjZyUkrnFF/n74Rx95nwHIL7gqC/iTyG1pqmI2MEgl/zZkLm1se+0Uijldjzm9oljrpSc4EDT1FTXvQTIqM//vFaB4rhmXEcDKzocDz5+8yWRVmtTpUAArdEibtig0Z+nzkSo/qV/gMUlX3RM/vB/mMlYzEd3jchFK2W9bmnpSWHkolFY408yjhBU8zsZNbkpKmmAyE1O8lRy4blj/FukUFTGBVFMxduNu6KHz5udJ6S/j1Z82NQcPBjH8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y/r0wBZSrvMsZqvWf/+s/eZjkPIJJ6Tuk78Y5CdRscNivtw6Rg7ZO8k/wwi1cJINYDgn0HLw3wlVht3lzOE+mVHWkZ9IjZUh54l3FmXimB1Sxok3/4YQI9xJALIZEKdwlPOIMpYwCf+o4OII+aN7FoV1NJR01UYG6lZcOBNJM0FzESm0v8+zinJUiK2sXoxGXCeX2Msq0ZvKU/A==,iv:C4YcRYDhlht1H+E77vVW/Pr+tAwRBqdvmXWC971okaQ=,tag:iBQsHLSSZ/7rgP4GK/73CQ==,type:str]
sops:
kms: []
gcp_kms:
- resource_id: projects/two-eye-two-see/locations/global/keyRings/sops-keys/cryptoKeys/similar-hubs
created_at: "2022-07-08T10:22:23Z"
enc: CiQA4OM7eELOYBn44iDRoHgNiyOzVycsLHOqNnNxr07Ppd8Ww24SSQBq6cPr8Uhfzv0hlrELWtNp7uk/na5IMeoZ9OL2/pmCQxR02aHWRNzHEXrnXUBd/NwWoZDHoZ3IR+K4y+mQ0MBM4XoPDIAlfvg=
azure_kv: []
hc_vault: []
age: []
lastmodified: "2022-07-13T06:04:36Z"
mac: ENC[AES256_GCM,data:l9jymTTL+3nCfH0tVZmoBF7EmTujpTjRXYxVJoDpHCLUSXvd/bKZzc+rzyxhNWlK3550QxcbU2A9evIW9blUtMlBlqyaYiYy7g8kUAQaf3kqJPx6C1sJkX2cEQxJA+oqee7vrdLrs1tUWjG0CoyWlVJSf1dz9PnVvRcfNRZE/H8=,iv:/Vzf129knVRFOFm+PAUI3jDQveHVL742sAKBEqGVgn4=,tag:O6hM+jQ3Yotps7pp5lhh1A==,type:str]
pgp: []
unencrypted_suffix: _unencrypted
version: 3.7.3
66 changes: 66 additions & 0 deletions config/clusters/2i2c/neurohackademy.values.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
dex:
enabled: true
hubHostName: neurohackademy.2i2c.cloud

staticWebsite:
enabled: true
source:
git:
repo: https://github.com/neurohackademy/zoom2022
branch: master
ingress:
host: neurohackademy.2i2c.cloud
path: /zoom
githubAuth:
enabled: true

jupyterhub:
custom:
2i2c:
add_staff_user_ids_to_admin_users: true
add_staff_user_ids_of_type: "github"
homepage:
templateVars:
org:
name: NeuroHackademy
url: https://neurohackademy.org/
logo_url: https://user-images.githubusercontent.com/118582/178122521-aa5b83e7-f898-415a-89ff-dc288f599b4f.png
designed_by:
name: 2i2c
url: https://2i2c.org
operated_by:
name: 2i2c
url: https://2i2c.org
funded_by:
name: The National Institutes of Health grant 2R25MH112480-06
url: https://reporter.nih.gov/search/ydTvTwXxk0yd6eGdRznbLQ/project-details/10409452
singleuser:
# User image: https://quay.io/repository/arokem/nh-jhub-2022?tab=tags
image:
name: quay.io/arokem/nh-jhub-2022
tag: "3d441bdb82f6"
hub:
config:
JupyterHub:
authenticator_class: cilogon
Authenticator:
allowed_users: &neurohackademy_users
- arokem
admin_users: *neurohackademy_users
CILogonOAuthenticator:
oauth_callback_url: https://neurohackademy.2i2c.cloud/hub/oauth_callback
shown_idps:
- https://github.com/login/oauth/authorize
allowed_idps:
http://github.com/login/oauth/authorize:
username_derivation:
username_claim: "preferred_username"
services:
dex:
url: http://dex:5556
oauth_redirect_uri: https://neurohackademy.2i2c.cloud/services/dex/callback
oauth_no_confirm: true
display: false
oauth2-proxy:
url: http://dex:9000
display: false

0 comments on commit eb691a8

Please sign in to comment.