Add private mirror support for OCI references #4362

Signed-off-by: Dennis R <dennis@elsysweyr.com>
This commit is contained in:
Dennis R 2024-03-11 22:46:57 +01:00 committed by Simon L
parent 257b9217f8
commit f9e78ba35e
13 changed files with 28 additions and 24 deletions

View file

@ -27,7 +27,7 @@ spec:
spec:
initContainers:
- name: init-subpath
image: alpine
image: "{{ .Values.IMAGE_MIRROR_PREFIX }}{{ .Values.ALPINE_IMAGE_ORG}}/alpine"
command:
- mkdir
- "-p"
@ -37,7 +37,7 @@ spec:
- name: nextcloud-aio-clamav
mountPath: /nextcloud-aio-clamav
- name: init-volumes
image: alpine
image: "{{ .Values.IMAGE_MIRROR_PREFIX }}{{ .Values.ALPINE_IMAGE_ORG}}/alpine"
command:
- chown
- 100:100
@ -52,7 +52,7 @@ spec:
value: "90"
- name: TZ
value: "{{ .Values.TIMEZONE }}"
image: nextcloud/aio-clamav:20240308_092935-latest
image: "{{ .Values.IMAGE_MIRROR_PREFIX }}{{ .Values.NEXTCLOUD_IMAGE_ORG}}/aio-clamav:20240308_092935-latest"
name: nextcloud-aio-clamav
ports:
- containerPort: 3310