---
# Single WatchState state volume: the sqlite DB, config, and per-backend cache
# all live under /config. RWO because the Deployment is pinned to replicas: 1
# with a Recreate strategy (sqlite + the in-container cron/redis are not
# multi-writer safe).
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
  name: watchstate-config
  namespace: watchstate
spec:
  accessModes:
    - ReadWriteOnce
  resources:
    requests:
      storage: 5Gi
  storageClassName: cephrbd-fast-delete
  volumeMode: Filesystem
