Refactor: rename namespaces and add storage

This commit is contained in:
2024-12-03 07:01:52 +00:00
parent 967d9e61a9
commit b221fd965a
15 changed files with 38 additions and 2 deletions

View File

@@ -6,7 +6,7 @@ metadata:
namespace: flux-system
spec:
interval: 10m0s
path: ./metallb/
path: ./metallb-system/
prune: true
force: false
sourceRef:

View File

@@ -6,7 +6,7 @@ metadata:
namespace: flux-system
spec:
interval: 10m0s
path: ./traefik/
path: ./traefik-system/
prune: true
force: false
sourceRef:

View File

@@ -0,0 +1,6 @@
---
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- sc.iscsi.yaml
- pv.minio.yaml

View 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

View File

@@ -0,0 +1,8 @@
---
apiVersion: storage.k8s.io/v1
kind: StorageClass
metadata:
name: iscsi
provisioner: kubernetes.io/provisioner
reclaimPolicy: Retain
volumeBindingMode: Immediate