apiVersion: v1
kind: PersistentVolume
metadata:
  name: postgresql-pv
  namespace: nestjs
spec:
  storageClassName: postgresql-sc
  capacity:
    storage: 1Gi
  accessModes:
    - ReadWriteOnce
  hostPath:
    path: "/opt/k8s/data"

