16 lines
325 B
YAML
16 lines
325 B
YAML
apiVersion: v1
|
|
kind: PersistentVolume
|
|
metadata:
|
|
name: gitea-pv
|
|
namespace: default
|
|
labels:
|
|
app.kubernetes.io/name: gitea-pv
|
|
spec:
|
|
storageClassName: hostpath
|
|
persistentVolumeReclaimPolicy: Retain
|
|
capacity:
|
|
storage: 30Gi
|
|
accessModes:
|
|
- ReadWriteOnce
|
|
hostPath:
|
|
path: "/mnt/MainPool/Kubernetes/gitea" |