From 93748f9644a88c1222a577ed569394c3c21995f5 Mon Sep 17 00:00:00 2001 From: Simon L Date: Wed, 3 May 2023 17:22:55 +0200 Subject: [PATCH] add a second init step for postgres Signed-off-by: Simon L --- nextcloud-aio-helm-chart/update-helm.sh | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/nextcloud-aio-helm-chart/update-helm.sh b/nextcloud-aio-helm-chart/update-helm.sh index 0db93026..94344458 100755 --- a/nextcloud-aio-helm-chart/update-helm.sh +++ b/nextcloud-aio-helm-chart/update-helm.sh @@ -56,12 +56,16 @@ cat << EOL > /tmp/initcontainers EOL cat << EOL > /tmp/initcontainers.database initContainers: - - name: init-volumes + - init-subpath image: alpine command: - mkdir - "-p" - - /nextcloud-aio-database/data; + - /nextcloud-aio-database/data + volumeMountsInitContainer: + - name: init-volumes + image: alpine + command: - chown - 999:999 - "-R"