homelab-gitops/hedgedoc/pvs.yaml
gwg313 e53e349413
add hedgedoc
Signed-off-by: gwg313 <gwg313@pm.me>
2025-07-27 14:00:22 -04:00

46 lines
983 B
YAML

---
apiVersion: v1
kind: PersistentVolume
metadata:
name: hedgedoc-uploads-pv
spec:
capacity:
storage: 20Gi
accessModes:
- ReadWriteOnce
persistentVolumeReclaimPolicy: Retain
iscsi:
targetPortal: truenas.local.gwg313.xyz:3260
iqn: iqn.2005-10.org.freenas.ctl:hedgedoc-data
lun: 0
fsType: ext4
chapAuthDiscovery: true
chapAuthSession: true
secretRef:
name: hedgedoc-iscsi-auth
claimRef:
namespace: hedgedoc
name: hedgedoc-uploads-pvc
---
apiVersion: v1
kind: PersistentVolume
metadata:
name: hedgedoc-db-pv
spec:
capacity:
storage: 5Gi
accessModes:
- ReadWriteOnce
persistentVolumeReclaimPolicy: Retain
iscsi:
targetPortal: truenas.local.gwg313.xyz:3260
iqn: iqn.2005-10.org.freenas.ctl:hedgedoc-database
lun: 1
fsType: ext4
chapAuthDiscovery: true
chapAuthSession: true
secretRef:
name: hedgedoc-iscsi-auth
claimRef:
namespace: hedgedoc
name: hedgedoc-db-pvc