Skip to content

Commit

Permalink
Reduce complexity by disabling prePulling of an image not used by def…
Browse files Browse the repository at this point in the history
…ault
  • Loading branch information
consideRatio committed Oct 5, 2020
1 parent aff76d0 commit 4d3de43
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions jupyterhub/templates/image-puller/_daemonset-helper.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -94,19 +94,6 @@ spec:
{{- end }}
{{- end }}
{{- end }}
{{- if not .Values.singleuser.cloudMetadata.enabled }}
- name: image-pull-metadata-block
image: {{ .Values.singleuser.networkTools.image.name }}:{{ .Values.singleuser.networkTools.image.tag }}
{{- with .Values.singleuser.networkTools.image.pullPolicy }}
imagePullPolicy: {{ . }}
{{- end }}
command:
- /bin/sh
- -c
- echo "Pulling complete"
resources:
{{- .Values.prePuller.resources | toYaml | trimSuffix "\n" | nindent 12 }}
{{- end }}
{{- range $k, $v := .Values.prePuller.extraImages }}
- name: image-pull-{{ $k }}
image: {{ $v.name }}:{{ $v.tag }}
Expand Down

0 comments on commit 4d3de43

Please sign in to comment.