ADD: added working nextcloud version
This commit is contained in:
32
k3s/apps/Nextcloud/manifest/nextcloud-config-pv-pvc.yaml
Normal file
32
k3s/apps/Nextcloud/manifest/nextcloud-config-pv-pvc.yaml
Normal file
@@ -0,0 +1,32 @@
|
||||
apiVersion: v1
|
||||
kind: PersistentVolumeClaim
|
||||
metadata:
|
||||
name: nextcloud-config-pvc
|
||||
namespace: nextcloud
|
||||
spec:
|
||||
accessModes:
|
||||
- ReadWriteOnce
|
||||
resources:
|
||||
requests:
|
||||
storage: 5Gi
|
||||
storageClassName: local-path # match mariadb local-path style
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: PersistentVolume
|
||||
metadata:
|
||||
name: pv-nextcloud-config
|
||||
labels:
|
||||
app: nextcloud
|
||||
spec:
|
||||
capacity:
|
||||
storage: 5Gi
|
||||
accessModes:
|
||||
- ReadWriteOnce
|
||||
persistentVolumeReclaimPolicy: Retain
|
||||
storageClassName: local-path
|
||||
claimRef:
|
||||
namespace: nextcloud
|
||||
name: nextcloud-config-pvc
|
||||
hostPath:
|
||||
path: /var/lib/nextcloud/nextcloud-config
|
||||
type: DirectoryOrCreate
|
||||
Reference in New Issue
Block a user