mirror of
https://github.com/gwg313/homelab-gitops.git
synced 2026-06-11 22:53:38 +00:00
131 lines
2.8 KiB
YAML
131 lines
2.8 KiB
YAML
# Harbor: Registry
|
|
apiVersion: v1
|
|
kind: PersistentVolume
|
|
metadata:
|
|
name: harbor-registry-pv
|
|
spec:
|
|
capacity:
|
|
storage: 200Gi
|
|
accessModes:
|
|
- ReadWriteOnce
|
|
volumeMode: Filesystem
|
|
persistentVolumeReclaimPolicy: Retain
|
|
storageClassName: harbor-iscsi
|
|
# --- PRE-BINDING LOCK ---
|
|
claimRef:
|
|
namespace: harbor
|
|
name: harbor-registry
|
|
iscsi:
|
|
targetPortal: truenas.local.gwg313.xyz
|
|
iqn: iqn.2005-10.org.freenas.ctl:harbor-registry
|
|
lun: 1
|
|
fsType: ext4
|
|
readOnly: false
|
|
chapAuthDiscovery: true
|
|
chapAuthSession: true
|
|
secretRef:
|
|
name: harbor-iscsi-auth
|
|
---
|
|
apiVersion: v1
|
|
kind: PersistentVolume
|
|
metadata:
|
|
name: harbor-jobservice-pv
|
|
spec:
|
|
capacity:
|
|
storage: 10Gi
|
|
accessModes:
|
|
- ReadWriteOnce
|
|
volumeMode: Filesystem
|
|
persistentVolumeReclaimPolicy: Retain
|
|
storageClassName: harbor-iscsi
|
|
claimRef:
|
|
namespace: harbor
|
|
name: harbor-jobservice
|
|
iscsi:
|
|
targetPortal: truenas.local.gwg313.xyz
|
|
iqn: iqn.2005-10.org.freenas.ctl:harbor-jobservice
|
|
lun: 0
|
|
fsType: ext4
|
|
readOnly: false
|
|
chapAuthDiscovery: true
|
|
chapAuthSession: true
|
|
secretRef:
|
|
name: harbor-iscsi-auth
|
|
---
|
|
apiVersion: v1
|
|
kind: PersistentVolume
|
|
metadata:
|
|
name: harbor-database-pv
|
|
spec:
|
|
capacity:
|
|
storage: 10Gi
|
|
accessModes:
|
|
- ReadWriteOnce
|
|
volumeMode: Filesystem
|
|
persistentVolumeReclaimPolicy: Retain
|
|
storageClassName: harbor-iscsi
|
|
claimRef:
|
|
namespace: harbor
|
|
name: harbor-database
|
|
iscsi:
|
|
targetPortal: truenas.local.gwg313.xyz
|
|
iqn: iqn.2005-10.org.freenas.ctl:harbor-database
|
|
lun: 2
|
|
fsType: ext4
|
|
readOnly: false
|
|
chapAuthDiscovery: true
|
|
chapAuthSession: true
|
|
secretRef:
|
|
name: harbor-iscsi-auth
|
|
---
|
|
apiVersion: v1
|
|
kind: PersistentVolume
|
|
metadata:
|
|
name: harbor-redis-pv
|
|
spec:
|
|
capacity:
|
|
storage: 10Gi
|
|
accessModes:
|
|
- ReadWriteOnce
|
|
volumeMode: Filesystem
|
|
persistentVolumeReclaimPolicy: Retain
|
|
storageClassName: harbor-iscsi
|
|
claimRef:
|
|
namespace: harbor
|
|
name: harbor-redis
|
|
iscsi:
|
|
targetPortal: truenas.local.gwg313.xyz
|
|
iqn: iqn.2005-10.org.freenas.ctl:harbor-redis
|
|
lun: 3
|
|
fsType: ext4
|
|
readOnly: false
|
|
chapAuthDiscovery: true
|
|
chapAuthSession: true
|
|
secretRef:
|
|
name: harbor-iscsi-auth
|
|
---
|
|
apiVersion: v1
|
|
kind: PersistentVolume
|
|
metadata:
|
|
name: harbor-trivy-pv
|
|
spec:
|
|
capacity:
|
|
storage: 10Gi
|
|
accessModes:
|
|
- ReadWriteOnce
|
|
volumeMode: Filesystem
|
|
persistentVolumeReclaimPolicy: Retain
|
|
storageClassName: harbor-iscsi
|
|
claimRef:
|
|
namespace: harbor
|
|
name: harbor-trivy
|
|
iscsi:
|
|
targetPortal: truenas.local.gwg313.xyz
|
|
iqn: iqn.2005-10.org.freenas.ctl:harbor-trivy
|
|
lun: 4
|
|
fsType: ext4
|
|
readOnly: false
|
|
chapAuthDiscovery: true
|
|
chapAuthSession: true
|
|
secretRef:
|
|
name: harbor-iscsi-auth
|