Remove old pvcs

This commit is contained in:
Jim Nicholson 2024-04-08 17:41:15 -07:00
parent 71ff99e764
commit 2c1adbff17
4 changed files with 2 additions and 46 deletions

View File

@ -1,22 +0,0 @@
---
apiVersion: v1
kind: PersistentVolume
metadata:
name: gitea-pv
namespace: gitea
labels:
app: gitea
spec:
storageClassName: "local-path"
capacity:
storage: 5Gi
accessModes:
- ReadWriteOnce
persistentVolumeReclaimPolicy: Retain
mountOptions:
- nolock
nfs:
server: 10.0.96.2
path: "/volume1/storage/git-repo"

View File

@ -1,16 +0,0 @@
---
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: gitea-pvc
namespace: gitea
labels:
app: gitea
spec:
storageClassName: "local-path"
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 5Gi
volumeName: gitea-pv

View File

@ -12,15 +12,9 @@ generatorOptions:
type: generated type: generated
resources: resources:
- namespace.yaml - namespace.yaml
# - secrets.yaml - 01-postgresql.yaml
- postgres-pv.yaml - 02-storage.yaml
- postgres-pvc.yaml
- gitea-pv.yaml
- gitea-pvc.yaml
- 0x-storage.yaml
- configuration.yaml - configuration.yaml
- postgres-deployment.yaml
- postgres-service.yaml
- gitea-deployment.yaml - gitea-deployment.yaml
- gitea-service.yaml - gitea-service.yaml
- ingress.yaml - ingress.yaml