Skip to content

Commit

Permalink
Merge remote-tracking branch 'geo/auth-binder-staging' into cilogon-b…
Browse files Browse the repository at this point in the history
…inder
  • Loading branch information
GeorgianaElena committed Mar 21, 2023
2 parents f16de11 + eda8e8d commit d9d4e28
Show file tree
Hide file tree
Showing 4 changed files with 44 additions and 19 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/deploy-hubs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -215,10 +215,10 @@ jobs:
run: |
deployer deploy ${{ matrix.jobs.cluster_name }} dask-staging
# - name: Upgrade binder-staging hub on cluster ${{ matrix.jobs.cluster_name }} if it exists
# if: matrix.jobs.upgrade_staging && matrix.jobs.cluster_name == '2i2c'
# run: |
# deployer deploy ${{ matrix.jobs.cluster_name }} binder-staging
- name: Upgrade binder-staging hub on cluster ${{ matrix.jobs.cluster_name }} if it exists
if: matrix.jobs.upgrade_staging && matrix.jobs.cluster_name == '2i2c'
run: |
deployer deploy ${{ matrix.jobs.cluster_name }} binder-staging
# Retry action: https://github.com/marketplace/actions/retry-step
- name: Run health check for dask-staging hub on cluster ${{ matrix.jobs.cluster_name }} if it exists
Expand Down
33 changes: 29 additions & 4 deletions config/clusters/2i2c/binder-staging.values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ binderhub:
token_url: https://us-central1-docker.pkg.dev/v2/token?service=
BinderHub:
# The URL set as jupyterhub.ingress.hosts[0] in this config
hub_url: https://hub.binder-staging.2i2c.cloud
auth_enabled: True
hub_url: https://binder-staging.hub.2i2c.cloud
image_prefix: us-central1-docker.pkg.dev/two-eye-two-see/binder-staging-registry/binder-staging-
auth_enabled: true
template_path: /etc/binderhub/custom/templates
Expand Down Expand Up @@ -69,9 +70,33 @@ binderhub:

jupyterhub:
ingress:
enabled: true
hosts:
- hub.binder-staging.2i2c.cloud
- binder-staging.hub.2i2c.cloud
tls:
- secretName: https-auto-tls-binder
- secretName: https-auto-tls-hub-binder
hosts:
- hub.binder-staging.2i2c.cloud
- binder-staging.hub.2i2c.cloud
hub:
redirectToServer: false
services:
binder:
oauth_client_id: service-binderhub
oauth_no_confirm: true
oauth_redirect_uri: "https://binder-staging.2i2c.cloud/oauth_callback"
config:
BinderSpawner:
auth_enabled: true
JupyterHub:
authenticator_class: cilogon
CILogonOAuthenticator:
oauth_callback_url: "https://binder-staging.hub.2i2c.cloud/hub/oauth_callback"
# Only show the option to login with Google
shown_idps:
- http://google.com/accounts/o8/id
allowed_idps:
http://google.com/accounts/o8/id:
username_derivation:
username_claim: "email"
allowed_domains:
- "2i2c.org"
19 changes: 8 additions & 11 deletions config/clusters/2i2c/enc-binder-staging.secret.values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,25 +3,22 @@ binderhub:
hub:
config:
CILogonOAuthenticator:
client_id: ENC[AES256_GCM,data:0geI4CrkoLofGQiINJdHaf/t5h6CLh+vBX319Oq7g1s/KWUW/1EsXx/VKNx1U3tt/F4=,iv:m07AeKeBbhrnc8G+xQZ1Y3g75kAzdIfGZg7iBfv9UCI=,tag:orVcBLft0DkuZOy/H8jsAg==,type:str]
client_secret: ENC[AES256_GCM,data:Yh6xjgQ9SqeEGeGz9gmEl29a93/XvvbQNoSVyHvZIgXB5QOXUTuwdPWXQCkBO9rt5UD0TjWad+PYRtB3ek2vyzr5sgoBIA6934P2quCvpJxya7MpsLk=,iv:ppL9hmPba7TjXTt0ND0J44oVFkz89Nl1jhCWbvECz0w=,tag:kBtB5nOzw4gMFSeoqWEuDg==,type:str]
services:
binder:
oauth_client_id: ENC[AES256_GCM,data:Tdc9bQmU0F/0jMf/S14XqXJqeybBqtycc0cbhdUYpTpaWaOJM6x8SOfOw7B8HWE3rDM=,iv:b/lA734rHp6n56bTRrqs6CPzYtyqTesDnH+juCSRlx0=,tag:1WGNxA4/ZdDZdoIQ3wlOHA==,type:str]
client_id: ENC[AES256_GCM,data:lmo+SPm5Fg5EeGdcYRzSJWOUC/OQgRkjfxIgCGKoTnDVb9BW0ur20eYSf/n2MRYc4E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x7xUpK+xj6oirUhZlrJvlkwaqhJYa9yQaqd9dkQxJpOnvMfgtRne5bSGRw7qXi36qzmLg32ctRwqf+PIcGLZV4POiIM2SeDaCNqrr+rkUftRaD5OfG464Sx56Y8QA+5yq8r9o6oO603bfxYVPn9KGV4ltmOVIbkKqk/b6ianaNAIdsJA9WOfDFynxZ8N0Rpfgl0/auUcDeJRnKESJTXE3uextZ7pHMNirWcSE7IfqflSCuXq8uRgFliKONFJ7EKsx5CdplQRFUrMRXuKwoDOplHFlGuR5qa/8yDmh3C+IdYKBkOnE5jnxLK1KOV3CWKfLD9EMV5j+pI89A07WoC5/W/PAAwR3rn6YYwqLm+wehtNngrVYKT4xKYVUNOpTKpUSrM7Ok3EtTEiw==,iv:1q+DrCDVZVS5sjOXLSxDaqTNP63hV/gX6vEA0DLdWEQ=,tag:skYSdgTtLKi7nB5oKFHYHA==,type:str]
username: ENC[AES256_GCM,data:RcTIaMP0pi98,iv:nszUBWnX0RFxIyZtXabdcsKhfab6gq0FWS0bQchPRsM=,tag:ns2cbMp38GTRNrbg7yso3g==,type:str]
sops:
kms: []
gcp_kms:
- resource_id: projects/two-eye-two-see/locations/global/keyRings/sops-keys/cryptoKeys/similar-hubs
created_at: "2022-08-01T14:05:40Z"
enc: CiQA4OM7eBvlCz4HJOd6KfhEFgdrF/ttkqfBrPr+vllYTmeA/BYSSQBq6cPrnSK06vOUOKi/N/LsHQFknwhQiP4cH3LVJDy0p2GWL1z2/XtnIVljuyZCkSUomhKzNIp+ClTzsQ9EZ1+5nNslH4+yFN8=
created_at: "2023-03-21T09:32:00Z"
enc: CiUA4OM7eGUo1x5cSQOKMOCKM2F+7MT5wWEd8zMnGxCRerQdCibVEkkALQgViN+uU1JfIwyrS5/ZeCobvHyAoR8rrG4RKwG9RBwlJnNL81MKzw7jDcvKJoxW+dgbGoDtJ4Sy/UZAZqD9ozTAlAeCPsXC
azure_kv: []
hc_vault: []
age: []
lastmodified: "2022-08-01T14:05:40Z"
mac: ENC[AES256_GCM,data:I1y4m6A09pKG5d2evlf2iTJ16ZkoKqWdjN9pVq2x3YscZ0V/bglf+qFEjtYxDYOvDcuJOMZ7PxydqbiHi2rwCSixvvZScUhsuPO6C4fbeS0LqIhbV07NAgSvTPPkNYrjYaRLtscrwGVoDPGcFdenfYKzJeVraaRxUudXAtwY1tY=,iv:IX+Qklvc7q/UkAVBRIqR4U3HaK9ry+DLd2B+yNPQ9uk=,tag:Iwy1HYw2s1Xtu9o1+WXQug==,type:str]
lastmodified: "2023-03-21T09:32:40Z"
mac: ENC[AES256_GCM,data:eeZncNjDsKB7XVNx4dO7DFUx4Mvi5pooDuM3Sh0ulpdDhaJFNDiTDDPjWwSdujyIHU7D+WduyQXqpinyM8UzHdUW2P6Xmbrctvf5/bvsRwBOrFkEBY8ab9BDCz3lZJmzEW62fnqYJOvXJS0L2GdXGqNsP8bw0PAR0FZFBSNwT5s=,iv:OH74i3b67NXozQ5zD9/62SHTioIloaMvjH6XAYvPz8A=,tag:wWce+Pzyr//R69blNrSRSQ==,type:str]
pgp: []
unencrypted_suffix: _unencrypted
version: 3.7.3
3 changes: 3 additions & 0 deletions helm-charts/binderhub/values.schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,3 +54,6 @@ properties:
global:
type: object
additionalProperties: true
jupyterhub:
type: object
additionalProperties: true

0 comments on commit d9d4e28

Please sign in to comment.