# ---
# apiVersion: v1
# kind: PersistentVolume
# metadata:
#   name: vaultwarden-storage
#   labels:
#     type: nfs
# spec:
#   storageClassName: flux-managed-storage-class
#   capacity:
#     storage: 1Gi
#   accessModes:
#     - ReadWriteOnce
#   nfs:
#     server: ourbackup.home
#     path: /volume1/k8s-storage/active/vaultwarden-storage

---
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
  name: vaultwarden-db
  namespace: vaultwarden
spec:
  accessModes:
    - ReadWriteOnce
  storageClassName: ceph-block
  resources:
    requests:
      storage: 1Gi
