fixed owncloud chart permission

This commit is contained in:
2025-01-14 03:09:53 +01:00
parent cd40352fa3
commit 5231bb013a
4 changed files with 37 additions and 11 deletions

View File

@ -15,6 +15,18 @@ podSecurityContext:
runAsGroup: 33
fsGroup: 33
# Init container for setting up permissions
initContainers:
permissions:
enabled: true
image: busybox
tag: latest
command:
- sh
- -c
- |
chown -R 33:33 /var/www/owncloud/config /var/www/owncloud/data
# Database configuration
database:
type: "pgsql" # can be pgsql or mysql
@ -58,7 +70,7 @@ persistence:
storageClass: ""
accessMode: ReadWriteOnce
size: 5Gi
mountPath: /mnt/data
mountPath: /var/www/owncloud/config
# Optional: Use existing PVC
existingClaim: ""
files:
@ -66,7 +78,7 @@ persistence:
storageClass: ""
accessMode: ReadWriteOnce
size: 100Gi
mountPath: /var/www/html/data
mountPath: /var/www/owncloud/data
# Optional: Use existing PVC
existingClaim: ""