Initial pull implemented.

Support for proxy repositories by pulling from the proxy and then tagging the image.
This commit is contained in:
2025-03-09 14:18:29 +01:00
parent 965dfbf245
commit b31e03bc7a
13 changed files with 292 additions and 15 deletions
+10 -3
View File
@@ -27,8 +27,15 @@ spec:
privileged: true
runAsUser: 0
args:
- --ready-duration=1m
- --v=3
- --ready-duration={{ .Values.readyDuration }}
- --v={{ .Values.logLevel }}
{{- if .Values.initialPullAll }}
- --initial-pull-all
{{- end }}
{{- range $mirror := .Values.mirrors }}
- --mirror
- {{ $mirror.registry }}={{ $mirror.mirror }}
{{- end }}
volumeMounts:
- mountPath: /run/containerd/containerd.sock
name: containerd-sock
@@ -36,4 +43,4 @@ spec:
- name: containerd-sock
hostPath:
path: /run/containerd/containerd.sock
type: Socket
type: Socket
+18
View File
@@ -1 +1,19 @@
logLevel: 2
readyDuration: 1m
initialPullAll: true
mirrors:
- registry: docker.io
mirror: wharf.wamblee.org
- registry: gcr.io
mirror: wharf.wamblee.org
- registry: k8s.gcr.io
mirror: wharf.wamblee.org
- registry: quay.io
mirror: wharf.wamblee.org
- registry: ghcr.io
mirror: wharf.wamblee.org
- registry: registry.k8s.io
mirror: wharf.wamblee.org