File tree 4 files changed +5
-1
lines changed
4 files changed +5
-1
lines changed Original file line number Diff line number Diff line change 1
1
apiVersion : v2
2
2
name : nextcloud
3
- version : 4.5.8
3
+ version : 4.5.9
4
4
appVersion : 27.1.4
5
5
description : A file sharing server that puts the control and security of your own data back into your hands.
6
6
keywords :
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
262
262
| Parameter | Description | Default |
263
263
| ----------------------------------------------------------------------| ----------------------------------------------------------------------------------------| ----------------------------------------------|
264
264
| ` persistence.enabled ` | Enable persistence using PVC | ` false ` |
265
+ | ` persistence.immutableImage ` | Does not mount the ` /var/www ` and ` /var/www/html ` directories | ` false ` |
265
266
| ` persistence.annotations ` | PVC annotations | ` {} ` |
266
267
| ` persistence.storageClass ` | PVC Storage Class for nextcloud volume | ` nil ` (uses alpha storage class annotation) |
267
268
| ` 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
240
240
Create volume mounts for the nextcloud container as well as the cron sidecar container.
241
241
*/} }
242
242
{ {- define " nextcloud.volumeMounts" -} }
243
+ { {- if not .Values.persistence.immutableImage } }
243
244
- name: nextcloud-main
244
245
mountPath: /var/www/
245
246
subPath: { { ternary " root" (printf " %s/root" .Values.nextcloud.persistence.subPath) (empty .Values.nextcloud.persistence.subPath) } }
246
247
- name: nextcloud-main
247
248
mountPath: /var/www/html
248
249
subPath: { { ternary " html" (printf " %s/html" .Values.nextcloud.persistence.subPath) (empty .Values.nextcloud.persistence.subPath) } }
250
+ { {- end } }
249
251
{ {- if and .Values.persistence.nextcloudData.enabled .Values.persistence.enabled } }
250
252
- name: nextcloud-data
251
253
mountPath: { { .Values.nextcloud.datadir } }
Original file line number Diff line number Diff line change @@ -380,6 +380,7 @@ service:
380
380
persistence :
381
381
# Nextcloud Data (/var/www/html)
382
382
enabled : false
383
+ immutableImage : false
383
384
annotations : {}
384
385
# # nextcloud data Persistent Volume Storage Class
385
386
# # If defined, storageClassName: <storageClass>
You can’t perform that action at this time.
0 commit comments