apiVersion: v1
kind: PersistentVolume
metadata:
  name: pihole-data
  namespace: pihole
  labels:
    app: pihole
    component: pihole
    tier: storage
spec:
  capacity:
    storage: 1Gi
  storageClassName: "local-storage"
  accessModes:
    - ReadWriteOnce
  persistentVolumeReclaimPolicy: Retain
  hostPath:
    path: /var/storage