Skip to content

Commit 702a47d

Browse files
fix(oauth): change srv URL
1 parent 03064f9 commit 702a47d

1 file changed

Lines changed: 9 additions & 8 deletions

File tree

infrastructure/cluster/flux/jhub-dev/jhub-dev-release.yaml

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,15 @@ metadata:
55
namespace: jhub-dev
66
spec:
77
releaseName: jhub-dev
8-
interval: 5m
8+
interval: 1m
99
chart:
1010
spec:
1111
sourceRef:
1212
kind: HelmRepository
1313
name: jhub-dev
1414
namespace: jhub-dev
1515
chart: jupyterhub
16-
interval: 5m
16+
interval: 1m
1717
version: 3.3.7
1818
valuesFrom:
1919
- kind: Secret
@@ -43,8 +43,7 @@ spec:
4343
values:
4444
proxy:
4545
service:
46-
type: ClusterIP
47-
hub:
46+
4847
service:
4948
type: ClusterIP
5049
networkPolicy:
@@ -75,7 +74,8 @@ spec:
7574
- email
7675
services:
7776
zenodo-auth:
78-
url: http://127.0.0.1:9995
77+
# Use the hub service DNS so the proxy (separate pod) can reach the managed service
78+
url: http://jhub-dev-hub:9995
7979
command:
8080
- bash
8181
- -lc
@@ -159,9 +159,11 @@ spec:
159159
if __name__ == "__main__":
160160
app = make_app()
161161
server = httpserver.HTTPServer(app)
162-
server.listen(9995, address='127.0.0.1')
162+
# Listen on all interfaces so the proxy pod can reach the service
163+
server.listen(9995, address='0.0.0.0')
163164
ioloop.IOLoop.current().start()
164165
PY
166+
165167
environment:
166168
ZENODO_TOKENS_DIR: /srv/jupyterhub/zenodo-tokens
167169

@@ -315,8 +317,7 @@ spec:
315317
- display_name: "Zenodo Jupyterlab dev env"
316318
description: "All in the tittle"
317319
kubespawner_override:
318-
image: ghcr.io/vre-hub/zenodo-jupyterlab-extension:refactor_extension
319-
# - display_name: "VRE and rucio extension integration"
320+
image: ghcr.io/vre-hub/zenodo-jghcr.io/vre-hub/zenodo-jupyterlab-extension:refactor_extensione: "VRE and rucio extension integration"
320321
# description: "python3.11 and Rucio extension integration "
321322
# kubespawner_override:
322323
# image: ghcr.io/vre-hub/vre-singleuser-py311:latest

0 commit comments

Comments
 (0)