Initial pull implemented.
Support for proxy repositories by pulling from the proxy and then tagging the image.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user