File tree Expand file tree Collapse file tree 4 files changed +5
-1
lines changed
Expand file tree Collapse file tree 4 files changed +5
-1
lines changed Original file line number Diff line number Diff line change 11apiVersion : v2
22name : nextcloud
3- version : 4.5.8
3+ version : 4.5.9
44appVersion : 27.1.4
55description : A file sharing server that puts the control and security of your own data back into your hands.
66keywords :
Original file line number Diff line number Diff line change @@ -262,6 +262,7 @@ Persistent Volume Claims are used to keep the data across deployments. This is k
262262| Parameter | Description | Default |
263263| ----------------------------------------------------------------------| ----------------------------------------------------------------------------------------| ----------------------------------------------|
264264| ` persistence.enabled ` | Enable persistence using PVC | ` false ` |
265+ | ` persistence.immutableImage ` | Does not mount the ` /var/www ` and ` /var/www/html ` directories | ` false ` |
265266| ` persistence.annotations ` | PVC annotations | ` {} ` |
266267| ` persistence.storageClass ` | PVC Storage Class for nextcloud volume | ` nil ` (uses alpha storage class annotation) |
267268| ` persistence.existingClaim ` | An Existing PVC name for nextcloud volume | ` nil ` (uses alpha storage class annotation) |
Original file line number Diff line number Diff line change @@ -240,12 +240,14 @@ Create environment variables used to configure the nextcloud container as well a
240240Create volume mounts for the nextcloud container as well as the cron sidecar container.
241241*/ }}
242242{{- define " nextcloud.volumeMounts" -}}
243+ {{- if not .Values.persistence.immutableImage }}
243244- name: nextcloud-main
244245 mountPath: /var/www/
245246 subPath: {{ ternary " root" (printf " %s /root" .Values.nextcloud.persistence.subPath ) (empty .Values.nextcloud.persistence.subPath ) }}
246247- name: nextcloud-main
247248 mountPath: /var/www/html
248249 subPath: {{ ternary " html" (printf " %s /html" .Values.nextcloud.persistence.subPath ) (empty .Values.nextcloud.persistence.subPath ) }}
250+ {{- end }}
249251{{- if and .Values.persistence.nextcloudData.enabled .Values.persistence.enabled }}
250252- name: nextcloud-data
251253 mountPath: {{ .Values.nextcloud.datadir }}
Original file line number Diff line number Diff line change @@ -380,6 +380,7 @@ service:
380380persistence :
381381 # Nextcloud Data (/var/www/html)
382382 enabled : false
383+ immutableImage : false
383384 annotations : {}
384385 # # nextcloud data Persistent Volume Storage Class
385386 # # If defined, storageClassName: <storageClass>
You can’t perform that action at this time.
0 commit comments