k8s/manifests/nextcloud-pvc.yaml

51 lines
1.3 KiB
YAML

apiVersion: v1
kind: PersistentVolume
metadata:
annotations:
longhorn.io/volume-scheduling-error: ""
pv.kubernetes.io/provisioned-by: driver.longhorn.io
volume.kubernetes.io/provisioner-deletion-secret-name: longhorn-encryption
volume.kubernetes.io/provisioner-deletion-secret-namespace: longhorn-system
name: pvc-8372cd94-b912-4a47-bc13-136843bf5a22
spec:
accessModes:
- ReadWriteOnce
capacity:
storage: 25Gi
claimRef:
apiVersion: v1
kind: PersistentVolumeClaim
name: nextcloud
namespace: nextcloud
csi:
driver: driver.longhorn.io
fsType: ext4
nodePublishSecretRef:
name: longhorn-encryption
namespace: longhorn-system
nodeStageSecretRef:
name: longhorn-encryption
namespace: longhorn-system
volumeAttributes:
encrypted: "true"
fromBackup: ""
fsType: ext4
numberOfReplicas: "3"
staleReplicaTimeout: "120"
volumeHandle: pvc-8372cd94-b912-4a47-bc13-136843bf5a22
persistentVolumeReclaimPolicy: Retain
storageClassName: longhorn-encrypted-retain
volumeMode: Filesystem
---
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: nextcloud
namespace: nextcloud
spec:
accessModes:
- ReadWriteOnce
storageClassName: longhorn-encrypted-retain
resources:
requests:
storage: 25Gi