From bcd56f6d910668c77c558fb9c039a74edbbae9d4 Mon Sep 17 00:00:00 2001 From: YuviPanda Date: Thu, 21 Sep 2023 10:52:28 -0700 Subject: [PATCH] Specify tags & pullPolicy for alpine/git: image Without this, the :latest tag was being used, and we were checking the registry each time even if the image is already present. Makes deployments *slightly* faster --- helm-charts/basehub/values.yaml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/helm-charts/basehub/values.yaml b/helm-charts/basehub/values.yaml index cc4baed63..d541a02d0 100644 --- a/helm-charts/basehub/values.yaml +++ b/helm-charts/basehub/values.yaml @@ -405,7 +405,8 @@ jupyterhub: description: An IDE For R, created by the RStudio company initContainers: - name: templates-clone - image: alpine/git + image: alpine/git:2.40.1 + imagePullPolicy: IfNotPresent args: - clone - -- @@ -426,7 +427,8 @@ jupyterhub: - name: custom-templates mountPath: /srv/repo - name: templates-ownership-fix - image: alpine/git + image: alpine/git:2.40.1 + imagePullPolicy: IfNotPresent command: - /bin/sh args: @@ -439,7 +441,8 @@ jupyterhub: mountPath: /srv/repo extraContainers: - name: templates-sync - image: alpine/git + image: alpine/git:2.40.1 + imagePullPolicy: IfNotPresent workingDir: /srv/repo command: - /bin/sh