From 7ce99452c6fcf338fbb3c2548e8537d7412bbb8c Mon Sep 17 00:00:00 2001 From: Pedro Maximino Date: Mon, 9 Dec 2024 14:32:47 +0100 Subject: [PATCH 1/2] swan: Use harbor cache to pull docker images This is because dockerhub and other registries impose rate limits when pulling images from their repositories. --- swan/values.yaml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/swan/values.yaml b/swan/values.yaml index fe9f851..4a09816 100644 --- a/swan/values.yaml +++ b/swan/values.yaml @@ -79,6 +79,9 @@ jupyterhub: proxy: service: type: ClusterIP + secretSync: + image: + name: "registry.cern.ch/quay.io/jupyterhub/k8s-secret-sync" chp: networkPolicy: enabled: true @@ -88,7 +91,7 @@ jupyterhub: dnsPortsPrivateIPs: false privateIPs: false image: - name: "jupyterhub/configurable-http-proxy" + name: "registry.cern.ch/quay.io/jupyterhub/configurable-http-proxy" tag: "4.5.0" pullPolicy: "IfNotPresent" resources: @@ -201,6 +204,8 @@ jupyterhub: prePuller: hook: enabled: true + image: + name: "registry.cern.ch/quay.io/jupyterhub/k8s-image-awaiter" continuous: enabled: false containerSecurityContext: From a844a1b2c206d31fa003e22c33c47e34aeeadeb6 Mon Sep 17 00:00:00 2001 From: Pedro Maximino Date: Mon, 9 Dec 2024 16:14:48 +0100 Subject: [PATCH 2/2] swan: Remove tag definition for http proxy The tag is being removed, so that the chart uses the one that is set by default in the default values of the jupyterhub chart, which may change in different versions. This prevents the tag not being updated in our chart if we forget. --- swan/values.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/swan/values.yaml b/swan/values.yaml index 4a09816..64a50ec 100644 --- a/swan/values.yaml +++ b/swan/values.yaml @@ -92,7 +92,6 @@ jupyterhub: privateIPs: false image: name: "registry.cern.ch/quay.io/jupyterhub/configurable-http-proxy" - tag: "4.5.0" pullPolicy: "IfNotPresent" resources: requests: