Change pvc names
This commit is contained in:
parent
0959b1a110
commit
443349d5a4
|
@ -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
|
|
@ -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:
|
||||||
|
|
Loading…
Reference in New Issue