diff --git a/flux-storages/hedgedoc.yaml b/flux-storages/hedgedoc.yaml new file mode 100644 index 0000000..04d926a --- /dev/null +++ b/flux-storages/hedgedoc.yaml @@ -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 diff --git a/flux-storages/storageclass.yaml b/flux-storages/storageclass.yaml new file mode 100644 index 0000000..4f6b085 --- /dev/null +++ b/flux-storages/storageclass.yaml @@ -0,0 +1,6 @@ +--- +apiVersion: storage.k8s.io/v1 +kind: StorageClass +metadata: + name: iscsi +provisioner: kubernetes.io/no-provisioner