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

View File

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