diff --git a/helm/chart/config.yaml b/helm/chart/config.yaml index 54ead0c..7d31748 100644 --- a/helm/chart/config.yaml +++ b/helm/chart/config.yaml @@ -88,6 +88,9 @@ daskhub: extraConfig: # mylabels: | # c.KubeSpawner.extra_labels = {} + announce: | + c.JupyterHub.template_vars = {'announcement': 'The Planetary Computer Hub is being retired on June 6th. See the GitHub Discussion for more information.'} + kubespawner: | c.KubeSpawner.start_timeout = 20 * 60 # 20 minutes 01-add-dask-gateway-values: | diff --git a/helm/chart/files/etc/jupyterhub/templates/page.html b/helm/chart/files/etc/jupyterhub/templates/page.html index 9961180..bc8d15e 100644 --- a/helm/chart/files/etc/jupyterhub/templates/page.html +++ b/helm/chart/files/etc/jupyterhub/templates/page.html @@ -223,6 +223,11 @@ min-height: 80vh; } + .announcement { + min-height: auto; + margin-top: 20px; + } + /* Login page styles */ .box { width: 45%; @@ -410,7 +415,7 @@ -