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: init-subpath
image: alpine
image: "{{ .Values.IMAGE_MIRROR_PREFIX }}{{ .Values.ALPINE_IMAGE_ORG}}/alpine"
command:
- mkdir
- "-p"
@ -39,7 +39,7 @@ spec:
- name: nextcloud-aio-database
mountPath: /nextcloud-aio-database
- name: init-volumes
image: alpine
image: "{{ .Values.IMAGE_MIRROR_PREFIX }}{{ .Values.ALPINE_IMAGE_ORG}}/alpine"
command:
- chown
- 999:999
@ -63,7 +63,7 @@ spec:
value: nextcloud
- name: TZ
value: "{{ .Values.TIMEZONE }}"
image: nextcloud/aio-postgresql:20240308_092935-latest
image: "{{ .Values.IMAGE_MIRROR_PREFIX }}{{ .Values.NEXTCLOUD_IMAGE_ORG}}/aio-postgresql:20240308_092935-latest"
name: nextcloud-aio-database
ports:
- containerPort: 5432