Skip to content

Commit a52869b

Browse files
committed
Rename binderhub-service to binderhub
1 parent e9f5a20 commit a52869b

File tree

4 files changed

+10
-10
lines changed

4 files changed

+10
-10
lines changed

config/hetzner-2i2c-bare.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ cryptnono:
2828
execwhacker:
2929
containerdHostPath: /run/k3s/containerd/containerd.sock
3030

31-
binderhub-service:
31+
binderhub:
3232
config:
3333
BinderHub:
3434
hub_url: https://hub.2i2c-bare.mybinder.org

mybinder/Chart.yaml

+4-4
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@ dependencies:
88
version: 4.0.0
99
repository: https://jupyterhub.github.io/helm-chart/
1010

11-
- name: binderhub-service
12-
repository: file:///Users/yuvipanda/code/binderhub-service/binderhub-service/
11+
- name: binderhub
12+
repository: file:///Users/yuvipanda/code/binderhub/helm-chart/binderhub/
1313
# repository: https://2i2c.org/binderhub-service/
14-
condition: binderhub-service.enabled
15-
version: "0.1.0-0.dev.git.300.h3f0b9be"
14+
condition: binderhub.enabled
15+
version: "1.0.0-0.dev.git.4013.hd0c659e9"
1616

1717
# https://github.com/kubernetes/ingress-nginx/tree/main/charts/ingress-nginx
1818
- name: ingress-nginx

mybinder/templates/proxy-patches/configmap.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ data:
3434
<html>
3535
<head>
3636
<title>Binder not found</title>
37-
{{ $rootUrl := printf "https://%s" (index (index .Values "binderhub-service").ingress.hosts 0) }}
37+
{{ $rootUrl := printf "https://%s" (index .Values.binderhub.ingress.hosts 0) }}
3838
<link href="{{ $rootUrl }}/static/dist/styles.css" rel="stylesheet">
3939
</head>
4040
<body>

mybinder/values.yaml

+4-4
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ etcJupyter:
7070
# when people leave a notebook open and wander off
7171
cull_connected: true
7272

73-
binderhub-service:
73+
binderhub:
7474
replicas: 1
7575

7676
resources:
@@ -322,7 +322,7 @@ binderhub-service:
322322
event_loop_interval_log_threshold = 1
323323
def _event_loop_tick(self):
324324
"""Measure a single tick of the event loop
325-
325+
326326
This measures the time since the last tick
327327
"""
328328
now = time.perf_counter()
@@ -332,8 +332,8 @@ binderhub-service:
332332
if tick_duration >= self.event_loop_interval_log_threshold:
333333
# warn about slow ticks
334334
self.log.warning("Event loop was unresponsive for %.2fs!", tick_duration)
335-
336-
335+
336+
337337
def start(self):
338338
self.log = get_logger()
339339
self.log.info("starting!")

0 commit comments

Comments
 (0)