# Apply: kubectl apply -f manifests/gitea/gitea-pv.yaml # Delete: kubectl delete -f manifests/gitea/gitea-pv.yaml # Description: PersistentVolume for Gitea data on the minisforum node. apiVersion: v1 kind: PersistentVolume metadata: name: gitea-pv labels: app: gitea spec: capacity: storage: 10Gi accessModes: - ReadWriteOnce persistentVolumeReclaimPolicy: Retain hostPath: path: /data/gitea type: DirectoryOrCreate nodeAffinity: required: nodeSelectorTerms: - matchExpressions: - key: kubernetes.io/hostname operator: In values: - minisforum