apiVersion: v1
kind: PersistentVolumeClaim
metadata:
  name: claudebox-workspace
  namespace: rdev
  labels:
    app.kubernetes.io/name: claudebox
    app.kubernetes.io/part-of: rdev
spec:
  accessModes:
    - ReadWriteOnce
  storageClassName: longhorn
  resources:
    requests:
      storage: 20Gi
---
# Claude config PVC - shared across claudebox and worker pods
# RWX (ReadWriteMany) allows multiple pods to mount simultaneously
# Contains Claude subscription OAuth credentials (~/.claude)
#
# IMPORTANT: Requires longhorn-rwx StorageClass (see storageclass-rwx.yaml)
# After recreating this PVC, re-authenticate with: claude login
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
  name: claudebox-claude-config
  namespace: rdev
  labels:
    app.kubernetes.io/name: claudebox
    app.kubernetes.io/part-of: rdev
    rdev.orchard9.ai/type: shared-config
spec:
  accessModes:
    - ReadWriteMany
  storageClassName: longhorn-rwx
  resources:
    requests:
      storage: 1Gi
