Feat(storages): Add storages
This commit is contained in:
21
flux-storages/hedgedoc.yaml
Normal file
21
flux-storages/hedgedoc.yaml
Normal file
@@ -0,0 +1,21 @@
|
|||||||
|
---
|
||||||
|
apiVersion: v1
|
||||||
|
kind: PersistenetVolume
|
||||||
|
metadata:
|
||||||
|
name: hedgedoc-iscsi
|
||||||
|
spec:
|
||||||
|
storageClassName: iscsi
|
||||||
|
volumeMode: Filesystem
|
||||||
|
capacity:
|
||||||
|
storage: 32G
|
||||||
|
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
|
||||||
6
flux-storages/storageclass.yaml
Normal file
6
flux-storages/storageclass.yaml
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
---
|
||||||
|
apiVersion: storage.k8s.io/v1
|
||||||
|
kind: StorageClass
|
||||||
|
metadata:
|
||||||
|
name: iscsi
|
||||||
|
provisioner: kubernetes.io/no-provisioner
|
||||||
Reference in New Issue
Block a user