diff --git a/charts/nextcloud/templates/nextcloud-deployment.yaml b/charts/nextcloud/templates/nextcloud-deployment.yaml index b46b2ff..89e3b9c 100644 --- a/charts/nextcloud/templates/nextcloud-deployment.yaml +++ b/charts/nextcloud/templates/nextcloud-deployment.yaml @@ -177,7 +177,7 @@ spec: - name: fmp-volume-permission image: busybox imagePullPolicy: IfNotPresent - command: [ 'chown','-R', '33:33', '/var/www/html', {{ .Values.persistence.nextcloudData.mountPath | squote }}, {{ .Values.persistence.nextcloudCustomApps.mountPath | squote }} ] + command: [ 'chown','-R', '33:33', {{ .Values.persistence.nextcloudData.mountPath | squote }}, {{ .Values.persistence.nextcloudCustomApps.mountPath | squote }} ] securityContext: runAsUser: 0 privileged: true