Skip to content

Commit

Permalink
Fix ingress config and add binderhub's public ip for oauth callback
Browse files Browse the repository at this point in the history
  • Loading branch information
GeorgianaElena committed May 24, 2024
1 parent c7389a9 commit ecdd191
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions config/clusters/2i2c/binderhub-ui-demo.values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ jupyterhub:
url: http://binderhub-ui-demo-binderhub-service:8090
display: true
oauth_no_confirm: true
oauth_redirect_uri: https://binderhub-ui-demo.2i2c.cloud/oauth_callback
config:
BinderSpawnerMixin:
auth_enabled: true
Expand All @@ -91,11 +92,11 @@ binderhub-service:
ingressClassName: nginx
annotations:
nginx.ingress.kubernetes.io/proxy-body-size: 256m
cert-manager.io/cluster-issuer: letsencrypt-prodc
cert-manager.io/cluster-issuer: letsencrypt-prod
hosts:
- binderhub-ui-demo.2i2c.cloud
tls:
- secretName: https-auto-tls
- secretName: binder-https-auto-tls
hosts:
- binderhub-ui-demo.2i2c.cloud
extraEnv:
Expand All @@ -107,9 +108,9 @@ binderhub-service:
- name: JUPYTERHUB_CLIENT_ID
value: "service-binder"
- name: JUPYTERHUB_OAUTH_CALLBACK_URL
value: "/services/binder/oauth_callback"
value: "https://binderhub-ui-demo.2i2c.cloud/oauth_callback"
- name: JUPYTERHUB_API_URL
value: "https://hub.binderhub-ui-demo.2i2c.cloud/hub/api/"
value: "https://hub.binderhub-ui-demo.2i2c.cloud/hub/api"

config:
BinderHub:
Expand Down

0 comments on commit ecdd191

Please sign in to comment.