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

@ -26,7 +26,7 @@ spec:
spec:
initContainers:
- name: "delete-lost-found"
image: alpine
image: "{{ .Values.IMAGE_MIRROR_PREFIX }}{{ .Values.ALPINE_IMAGE_ORG}}/alpine"
command:
- rm
- "-rf"
@ -37,7 +37,7 @@ spec:
- name: nextcloud-aio-nextcloud
mountPath: /nextcloud-aio-nextcloud
- name: init-volumes
image: alpine
image: "{{ .Values.IMAGE_MIRROR_PREFIX }}{{ .Values.ALPINE_IMAGE_ORG}}/alpine"
command:
- chmod
- "777"
@ -160,7 +160,7 @@ spec:
value: "{{ .Values.TIMEZONE }}"
- name: UPDATE_NEXTCLOUD_APPS
value: "{{ .Values.UPDATE_NEXTCLOUD_APPS }}"
image: nextcloud/aio-nextcloud:20240308_092935-latest
image: "{{ .Values.IMAGE_MIRROR_PREFIX }}{{ .Values.NEXTCLOUD_IMAGE_ORG}}/aio-nextcloud:20240308_092935-latest"
name: nextcloud-aio-nextcloud
ports:
- containerPort: 9000