Merge pull request #1896 from nextcloud/fix/noid/chown-postgres

fix(helm): chown database volume for postgres
This commit is contained in:
Simon L 2023-02-02 13:13:11 +01:00 committed by GitHub
commit 5da794a8d8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -25,10 +25,10 @@ spec:
- name: init-volumes - name: init-volumes
image: alpine image: alpine
command: command:
- chmod - sh
- "777" - -c
- /nextcloud-aio-database - "chmod 777 /nextcloud-aio-database /nextcloud-aio-database-dump
- /nextcloud-aio-database-dump && chown 999:999 /nextcloud-aio-database"
volumeMounts: volumeMounts:
- name: nextcloud-aio-database-dump - name: nextcloud-aio-database-dump
mountPath: /nextcloud-aio-database-dump mountPath: /nextcloud-aio-database-dump