mirror of
https://github.com/nextcloud/all-in-one.git
synced 2026-02-15 02:00:15 +00:00
helm - fix lost+found in nextcloud
Signed-off-by: Simon L <szaimen@e.mail.de>
This commit is contained in:
parent
f0fd5b692d
commit
b85ffbb0cc
4 changed files with 37 additions and 2 deletions
|
|
@ -42,4 +42,8 @@ spec:
|
|||
ports:
|
||||
- containerPort: 9980
|
||||
protocol: TCP
|
||||
securityContext:
|
||||
capabilities:
|
||||
add:
|
||||
- MKNOD
|
||||
{{- end }}
|
||||
|
|
|
|||
|
|
@ -23,6 +23,17 @@ spec:
|
|||
io.kompose.service: nextcloud-aio-nextcloud
|
||||
spec:
|
||||
initContainers:
|
||||
- name: delete lost+found
|
||||
image: alpine
|
||||
command:
|
||||
- rm
|
||||
- "-rf"
|
||||
- /nextcloud-aio-nextcloud/lost+found
|
||||
volumeMounts:
|
||||
- name: nextcloud-aio-nextcloud-trusted-cacerts
|
||||
mountPath: /nextcloud-aio-nextcloud-trusted-cacerts
|
||||
- name: nextcloud-aio-nextcloud
|
||||
mountPath: /nextcloud-aio-nextcloud
|
||||
- name: init-volumes
|
||||
image: alpine
|
||||
command:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue