---
# Source: mayastor/templates/etcd/storage/localpv.yaml
apiVersion: v1
kind: PersistentVolume
metadata:
  namespace: mayastor
  name: etcd-volume-0
  labels:
    statefulset.kubernetes.io/pod-name: mayastor-etcd-0
spec:
  storageClassName: manual
  # You must also delete the hostpath on the node
  persistentVolumeReclaimPolicy: Retain
  capacity:
    storage: "2Gi"
  accessModes:
    - ReadWriteOnce
  hostPath:
    path: "/var/local/mayastor/etcd/pod-0"
