mirror of
https://github.com/gwg313/homelab-gitops.git
synced 2026-06-25 17:47:59 +00:00
apps restructure
Signed-off-by: gwg313 <gwg313@pm.me>
This commit is contained in:
parent
8d74a625bc
commit
0b69038d79
11 changed files with 36 additions and 0 deletions
36
apps/forgejo/storage.yaml
Normal file
36
apps/forgejo/storage.yaml
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
apiVersion: v1
|
||||
kind: PersistentVolume
|
||||
metadata:
|
||||
name: forgejo-pv
|
||||
spec:
|
||||
capacity:
|
||||
storage: 20Gi
|
||||
accessModes:
|
||||
- ReadWriteOnce
|
||||
persistentVolumeReclaimPolicy: Retain
|
||||
iscsi:
|
||||
targetPortal: truenas.local.gwg313.xyz:3260
|
||||
iqn: iqn.2005-10.org.freenas.ctl:forgejo
|
||||
lun: 0
|
||||
fsType: ext4
|
||||
chapAuthDiscovery: true
|
||||
chapAuthSession: true
|
||||
secretRef:
|
||||
name: forgejo-iscsi-auth
|
||||
claimRef:
|
||||
namespace: forgejo
|
||||
name: forgejo-pvc
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: PersistentVolumeClaim
|
||||
metadata:
|
||||
name: forgejo-pvc
|
||||
namespace: forgejo
|
||||
spec:
|
||||
storageClassName: manual
|
||||
accessModes:
|
||||
- ReadWriteOnce
|
||||
resources:
|
||||
requests:
|
||||
storage: 20Gi
|
||||
volumeName: forgejo-pv
|
||||
Loading…
Add table
Add a link
Reference in a new issue