Refactor: rename namespaces and add storage
This commit is contained in:
@@ -6,7 +6,7 @@ metadata:
|
|||||||
namespace: flux-system
|
namespace: flux-system
|
||||||
spec:
|
spec:
|
||||||
interval: 10m0s
|
interval: 10m0s
|
||||||
path: ./metallb/
|
path: ./metallb-system/
|
||||||
prune: true
|
prune: true
|
||||||
force: false
|
force: false
|
||||||
sourceRef:
|
sourceRef:
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ metadata:
|
|||||||
namespace: flux-system
|
namespace: flux-system
|
||||||
spec:
|
spec:
|
||||||
interval: 10m0s
|
interval: 10m0s
|
||||||
path: ./traefik/
|
path: ./traefik-system/
|
||||||
prune: true
|
prune: true
|
||||||
force: false
|
force: false
|
||||||
sourceRef:
|
sourceRef:
|
||||||
|
|||||||
6
flux-storages/kustomization.yaml
Normal file
6
flux-storages/kustomization.yaml
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
---
|
||||||
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
|
kind: Kustomization
|
||||||
|
resources:
|
||||||
|
- sc.iscsi.yaml
|
||||||
|
- pv.minio.yaml
|
||||||
22
flux-storages/pv.minio.yaml
Normal file
22
flux-storages/pv.minio.yaml
Normal file
@@ -0,0 +1,22 @@
|
|||||||
|
---
|
||||||
|
apiVersion: v1
|
||||||
|
kind: PersistentVolume
|
||||||
|
metadata:
|
||||||
|
name: minio
|
||||||
|
spec:
|
||||||
|
storageClassName: iscsi
|
||||||
|
accessModes:
|
||||||
|
- ReadWriteOnce
|
||||||
|
capacity:
|
||||||
|
storage: 128G
|
||||||
|
iscsi:
|
||||||
|
chapAuthDiscovery: false
|
||||||
|
chapAuthSession: true
|
||||||
|
fsType: xfs
|
||||||
|
initiatorName: iqn.2016-04.com.open-iscsi:977141aa685a
|
||||||
|
iqn: iqn.2003-01.org.linux-iscsi.vms.x8664:sn.c712bd2a128c
|
||||||
|
lun: 0
|
||||||
|
targetPortal: 192.168.68.65:3260
|
||||||
|
secretRef:
|
||||||
|
name: iscsi-minio
|
||||||
|
namespace: flux-system
|
||||||
8
flux-storages/sc.iscsi.yaml
Normal file
8
flux-storages/sc.iscsi.yaml
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
---
|
||||||
|
apiVersion: storage.k8s.io/v1
|
||||||
|
kind: StorageClass
|
||||||
|
metadata:
|
||||||
|
name: iscsi
|
||||||
|
provisioner: kubernetes.io/provisioner
|
||||||
|
reclaimPolicy: Retain
|
||||||
|
volumeBindingMode: Immediate
|
||||||
Reference in New Issue
Block a user