Add back pvc
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Tyler Perkins 2023-10-15 13:51:58 -04:00
parent 3fadec6fbb
commit 47d349f021
2 changed files with 36 additions and 0 deletions

View File

@ -0,0 +1,22 @@
apiVersion: v1
kind: PersistentVolume
metadata:
name: blackhole-pv
namespace: torrent-ns
spec:
storageClassName: local-storage
capacity:
storage: 1000Gi
accessModes:
- ReadWriteMany
hostPath:
path: /Main/Black Hole
nodeAffinity:
required:
nodeSelectorTerms:
- matchExpressions:
- key: kubernetes.io/hostname
operator: In
values:
- gluttony

View File

@ -0,0 +1,14 @@
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: blackhole-pvc
namespace: torrent-ns
spec:
#storageClassName: local-storage
volumeName: blackhole-pv
accessModes:
- ReadWriteMany
resources:
requests:
storage: 1000Gi