fix(helm): chown database volume for postgres

Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
This commit is contained in:
Richard Steinmetz 2023-02-02 12:45:08 +01:00
parent cc8d3f908a
commit 10e114c5f8
No known key found for this signature in database
GPG key ID: 27137D9E7D273FB2

View file

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