Refactor: rename namespaces and add storage

This commit is contained in:
ytshih committed 2024-12-03 07:01:52 +00:00
1 parent 967d9e61a9
commit b221fd965a
15 files changed
+38 -2

No files matched your search

+1 -1
View File
@@ -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:
+1 -1
View File
@@ -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
View File
@@ -0,0 +1,6 @@
---
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- sc.iscsi.yaml
- pv.minio.yaml
+22
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
+8
View File
@@ -0,0 +1,8 @@
---
apiVersion: storage.k8s.io/v1
kind: StorageClass
metadata:
name: iscsi
provisioner: kubernetes.io/provisioner
reclaimPolicy: Retain
volumeBindingMode: Immediate
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.