diff --git a/charts/nextcloud/templates/deployment.yaml b/charts/nextcloud/templates/deployment.yaml index 35ddcc10..6fbed72d 100644 --- a/charts/nextcloud/templates/deployment.yaml +++ b/charts/nextcloud/templates/deployment.yaml @@ -264,9 +264,8 @@ spec: - name: nextcloud-nginx-config mountPath: /etc/nginx/nginx.conf subPath: nginx.conf - {{- if .Values.nextcloud.extraVolumeMounts }} - {{- toYaml .Values.nextcloud.extraVolumeMounts | nindent 8 }} - {{- end }} + readonly: true + {{- include "nextcloud.volumeMounts" . | trim | nindent 8 }} {{- end }} {{- with .Values.nextcloud.extraSidecarContainers }} {{- toYaml . | nindent 6 }}