Merge pull request #2502 from nextcloud/enh/noid/add-second-init-step

add a second init step for postgres
This commit is contained in:
Simon L 2023-05-03 17:47:25 +02:00 committed by GitHub
commit ff624fbfad
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -56,12 +56,16 @@ cat << EOL > /tmp/initcontainers
EOL EOL
cat << EOL > /tmp/initcontainers.database cat << EOL > /tmp/initcontainers.database
initContainers: initContainers:
- name: init-volumes - init-subpath
image: alpine image: alpine
command: command:
- mkdir - mkdir
- "-p" - "-p"
- /nextcloud-aio-database/data; - /nextcloud-aio-database/data
volumeMountsInitContainer:
- name: init-volumes
image: alpine
command:
- chown - chown
- 999:999 - 999:999
- "-R" - "-R"