fixed owncloud chart permission
This commit is contained in:
@ -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: ""
|
||||
|
||||
|
Reference in New Issue
Block a user