Skip to content

Commit

Permalink
Specify tags & pullPolicy for alpine/git: image
Browse files Browse the repository at this point in the history
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
  • Loading branch information
yuvipanda committed Sep 21, 2023
1 parent 61cd7a7 commit bcd56f6
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions helm-charts/basehub/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
- --
Expand All @@ -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:
Expand All @@ -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
Expand Down

0 comments on commit bcd56f6

Please sign in to comment.