Merge pull request #5314 from nextcloud/enh/noid/ping-alpine-image

helm: adjust initcontainer: use fixed alpine tag
This commit is contained in:
Simon L. 2024-11-07 22:23:20 +01:00 committed by GitHub
commit 76ae1fbbe9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 18 additions and 18 deletions

View file

@ -25,7 +25,7 @@ spec:
spec: spec:
initContainers: initContainers:
- name: init-volumes - name: init-volumes
image: "{{ .Values.IMAGE_MIRROR_PREFIX }}{{ .Values.ALPINE_IMAGE_ORG }}alpine" image: "{{ .Values.IMAGE_MIRROR_PREFIX }}{{ .Values.ALPINE_IMAGE_ORG }}alpine:3.20"
command: command:
- chmod - chmod
- "777" - "777"

View file

@ -26,7 +26,7 @@ spec:
spec: spec:
initContainers: initContainers:
- name: init-subpath - name: init-subpath
image: "{{ .Values.IMAGE_MIRROR_PREFIX }}{{ .Values.ALPINE_IMAGE_ORG }}alpine" image: "{{ .Values.IMAGE_MIRROR_PREFIX }}{{ .Values.ALPINE_IMAGE_ORG }}alpine:3.20"
command: command:
- mkdir - mkdir
- "-p" - "-p"
@ -36,7 +36,7 @@ spec:
- name: nextcloud-aio-clamav - name: nextcloud-aio-clamav
mountPath: /nextcloud-aio-clamav mountPath: /nextcloud-aio-clamav
- name: init-volumes - name: init-volumes
image: "{{ .Values.IMAGE_MIRROR_PREFIX }}{{ .Values.ALPINE_IMAGE_ORG }}alpine" image: "{{ .Values.IMAGE_MIRROR_PREFIX }}{{ .Values.ALPINE_IMAGE_ORG }}alpine:3.20"
command: command:
- chown - chown
- 100:100 - 100:100

View file

@ -25,7 +25,7 @@ spec:
spec: spec:
initContainers: initContainers:
- name: init-subpath - name: init-subpath
image: "{{ .Values.IMAGE_MIRROR_PREFIX }}{{ .Values.ALPINE_IMAGE_ORG }}alpine" image: "{{ .Values.IMAGE_MIRROR_PREFIX }}{{ .Values.ALPINE_IMAGE_ORG }}alpine:3.20"
command: command:
- mkdir - mkdir
- "-p" - "-p"
@ -38,7 +38,7 @@ spec:
- name: nextcloud-aio-database - name: nextcloud-aio-database
mountPath: /nextcloud-aio-database mountPath: /nextcloud-aio-database
- name: init-volumes - name: init-volumes
image: "{{ .Values.IMAGE_MIRROR_PREFIX }}{{ .Values.ALPINE_IMAGE_ORG }}alpine" image: "{{ .Values.IMAGE_MIRROR_PREFIX }}{{ .Values.ALPINE_IMAGE_ORG }}alpine:3.20"
command: command:
- chown - chown
- 999:999 - 999:999

View file

@ -26,7 +26,7 @@ spec:
spec: spec:
initContainers: initContainers:
- name: init-volumes - name: init-volumes
image: "{{ .Values.IMAGE_MIRROR_PREFIX }}{{ .Values.ALPINE_IMAGE_ORG }}alpine" image: "{{ .Values.IMAGE_MIRROR_PREFIX }}{{ .Values.ALPINE_IMAGE_ORG }}alpine:3.20"
command: command:
- chmod - chmod
- "777" - "777"

View file

@ -25,7 +25,7 @@ spec:
spec: spec:
initContainers: initContainers:
- name: "delete-lost-found" - name: "delete-lost-found"
image: "{{ .Values.IMAGE_MIRROR_PREFIX }}{{ .Values.ALPINE_IMAGE_ORG }}alpine" image: "{{ .Values.IMAGE_MIRROR_PREFIX }}{{ .Values.ALPINE_IMAGE_ORG }}alpine:3.20"
command: command:
- rm - rm
- "-rf" - "-rf"
@ -36,7 +36,7 @@ spec:
- name: nextcloud-aio-nextcloud - name: nextcloud-aio-nextcloud
mountPath: /nextcloud-aio-nextcloud mountPath: /nextcloud-aio-nextcloud
- name: init-volumes - name: init-volumes
image: "{{ .Values.IMAGE_MIRROR_PREFIX }}{{ .Values.ALPINE_IMAGE_ORG }}alpine" image: "{{ .Values.IMAGE_MIRROR_PREFIX }}{{ .Values.ALPINE_IMAGE_ORG }}alpine:3.20"
command: command:
- chmod - chmod
- "777" - "777"

View file

@ -25,7 +25,7 @@ spec:
spec: spec:
initContainers: initContainers:
- name: init-volumes - name: init-volumes
image: "{{ .Values.IMAGE_MIRROR_PREFIX }}{{ .Values.ALPINE_IMAGE_ORG }}alpine" image: "{{ .Values.IMAGE_MIRROR_PREFIX }}{{ .Values.ALPINE_IMAGE_ORG }}alpine:3.20"
command: command:
- chmod - chmod
- "777" - "777"

View file

@ -26,7 +26,7 @@ spec:
spec: spec:
initContainers: initContainers:
- name: init-volumes - name: init-volumes
image: "{{ .Values.IMAGE_MIRROR_PREFIX }}{{ .Values.ALPINE_IMAGE_ORG }}alpine" image: "{{ .Values.IMAGE_MIRROR_PREFIX }}{{ .Values.ALPINE_IMAGE_ORG }}alpine:3.20"
command: command:
- chmod - chmod
- "777" - "777"

View file

@ -25,7 +25,7 @@ spec:
spec: spec:
initContainers: initContainers:
- name: init-volumes - name: init-volumes
image: "{{ .Values.IMAGE_MIRROR_PREFIX }}{{ .Values.ALPINE_IMAGE_ORG }}alpine" image: "{{ .Values.IMAGE_MIRROR_PREFIX }}{{ .Values.ALPINE_IMAGE_ORG }}alpine:3.20"
command: command:
- chmod - chmod
- "777" - "777"

View file

@ -62,7 +62,7 @@ find ./ -name '*networkpolicy.yaml' -exec sed -i "s|manual-install-nextcloud-aio
cat << EOL > /tmp/initcontainers cat << EOL > /tmp/initcontainers
initContainers: initContainers:
- name: init-volumes - name: init-volumes
image: "{{ .Values.IMAGE_MIRROR_PREFIX }}{{ .Values.ALPINE_IMAGE_ORG }}alpine" image: "{{ .Values.IMAGE_MIRROR_PREFIX }}{{ .Values.ALPINE_IMAGE_ORG }}alpine:3.20"
command: command:
- chmod - chmod
- "777" - "777"
@ -71,14 +71,14 @@ EOL
cat << EOL > /tmp/initcontainers.database cat << EOL > /tmp/initcontainers.database
initContainers: initContainers:
- name: init-subpath - name: init-subpath
image: "{{ .Values.IMAGE_MIRROR_PREFIX }}{{ .Values.ALPINE_IMAGE_ORG }}alpine" image: "{{ .Values.IMAGE_MIRROR_PREFIX }}{{ .Values.ALPINE_IMAGE_ORG }}alpine:3.20"
command: command:
- mkdir - mkdir
- "-p" - "-p"
- /nextcloud-aio-database/data - /nextcloud-aio-database/data
volumeMountsInitContainer: volumeMountsInitContainer:
- name: init-volumes - name: init-volumes
image: "{{ .Values.IMAGE_MIRROR_PREFIX }}{{ .Values.ALPINE_IMAGE_ORG }}alpine" image: "{{ .Values.IMAGE_MIRROR_PREFIX }}{{ .Values.ALPINE_IMAGE_ORG }}alpine:3.20"
command: command:
- chown - chown
- 999:999 - 999:999
@ -88,14 +88,14 @@ EOL
cat << EOL > /tmp/initcontainers.clamav cat << EOL > /tmp/initcontainers.clamav
initContainers: initContainers:
- name: init-subpath - name: init-subpath
image: "{{ .Values.IMAGE_MIRROR_PREFIX }}{{ .Values.ALPINE_IMAGE_ORG }}alpine" image: "{{ .Values.IMAGE_MIRROR_PREFIX }}{{ .Values.ALPINE_IMAGE_ORG }}alpine:3.20"
command: command:
- mkdir - mkdir
- "-p" - "-p"
- /nextcloud-aio-clamav/data - /nextcloud-aio-clamav/data
volumeMountsInitContainer: volumeMountsInitContainer:
- name: init-volumes - name: init-volumes
image: "{{ .Values.IMAGE_MIRROR_PREFIX }}{{ .Values.ALPINE_IMAGE_ORG }}alpine" image: "{{ .Values.IMAGE_MIRROR_PREFIX }}{{ .Values.ALPINE_IMAGE_ORG }}alpine:3.20"
command: command:
- chown - chown
- 100:100 - 100:100
@ -105,14 +105,14 @@ EOL
cat << EOL > /tmp/initcontainers.nextcloud cat << EOL > /tmp/initcontainers.nextcloud
initContainers: initContainers:
- name: "delete-lost-found" - name: "delete-lost-found"
image: "{{ .Values.IMAGE_MIRROR_PREFIX }}{{ .Values.ALPINE_IMAGE_ORG }}alpine" image: "{{ .Values.IMAGE_MIRROR_PREFIX }}{{ .Values.ALPINE_IMAGE_ORG }}alpine:3.20"
command: command:
- rm - rm
- "-rf" - "-rf"
- "/nextcloud-aio-nextcloud/lost+found" - "/nextcloud-aio-nextcloud/lost+found"
volumeMountsInitRmLostFound: volumeMountsInitRmLostFound:
- name: init-volumes - name: init-volumes
image: "{{ .Values.IMAGE_MIRROR_PREFIX }}{{ .Values.ALPINE_IMAGE_ORG }}alpine" image: "{{ .Values.IMAGE_MIRROR_PREFIX }}{{ .Values.ALPINE_IMAGE_ORG }}alpine:3.20"
command: command:
- chmod - chmod
- "777" - "777"