Feat(storages): Add storages

This commit is contained in:
2024-12-05 11:57:38 +00:00
parent 8b44075ef0
commit 731776e5ad
2 changed files with 29 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
---
apiVersion: v1
kind: PersistentVolume
metadata:
name: hedgedoc-iscsi
spec:
storageClassName: iscsi
volumeMode: Filesystem
capacity:
storage: 32G
accessModes:
- ReadWriteOnce
iscsi:
chapAuthDiscovery: false
chapAuthSession: true
fsType: xfs
initiatorName: iqn.2016-04.com.open-iscsi:38a483e890
iqn: iqn.2003-01.org.linux-iscsi.vms.x8664:sn.a9cb223bcd01
lun: 0
secretRef:
name: hedgedoc-iscsi
namespace: flux-system
targetPortal: 192.168.68.65:3260

View File

@@ -0,0 +1,6 @@
---
apiVersion: storage.k8s.io/v1
kind: StorageClass
metadata:
name: iscsi
provisioner: kubernetes.io/no-provisioner