Skip to content

Commit

Permalink
fix(nextcloud): try no-provisioner again
Browse files Browse the repository at this point in the history
  • Loading branch information
Tanguille committed Nov 19, 2024
1 parent 23e2590 commit 1d3cd55
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions kubernetes/apps/default/nextcloud/app/nfs-pvc.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
---
apiVersion: storage.k8s.io/v1
kind: StorageClass
metadata:
name: nextcloud-nfs
provisioner: kubernetes.io/no-provisioner
volumeBindingMode: WaitForFirstConsumer
---
apiVersion: v1
kind: PersistentVolume
metadata:
Expand All @@ -8,6 +15,7 @@ spec:
storage: 500Gi
accessModes:
- ReadWriteMany
storageClassName: nextcloud-nfs
persistentVolumeReclaimPolicy: Retain
nfs:
server: "${TRUENAS_IP}"
Expand All @@ -24,6 +32,7 @@ metadata:
namespace: default
spec:
accessModes: ["ReadWriteMany"]
storageClassName: nextcloud-nfs
resources:
requests:
storage: 500Gi

0 comments on commit 1d3cd55

Please sign in to comment.