Change pvc names

This commit is contained in:
SeanOMik 2023-04-16 02:06:11 -04:00
parent 0959b1a110
commit 443349d5a4
Signed by: SeanOMik
GPG Key ID: 568F326C7EB33ACB
2 changed files with 6 additions and 6 deletions

View File

@ -1,13 +1,13 @@
apiVersion: v1
kind: PersistentVolume
metadata:
name: harbor-registry-pv
name: harbor-pv
namespace: harbor
spec:
storageClassName: hostpath
persistentVolumeReclaimPolicy: Retain
capacity:
storage: 2Gi
storage: 5Gi
accessModes:
- ReadWriteOnce
hostPath:
@ -16,7 +16,7 @@ spec:
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: harbor-registry-pv-claim
name: harbor-pv-claim
namespace: harbor
spec:
storageClassName: hostpath
@ -24,4 +24,4 @@ spec:
- ReadWriteOnce
resources:
requests:
storage: 2Gi
storage: 5Gi

View File

@ -36,11 +36,11 @@ spec:
persistence:
persistentVolumeClaim:
registry:
existingClaim: harbor-registry-pv-claim
existingClaim: harbor-pv-claim
subPath: "registry/"
jobservice:
jobLog:
existingClaim: harbor-jobservice-pv-claim
existingClaim: harbor-pv-claim
subPath: "jobservice/"
# trivy: