Refactor: rename namespaces and add storage
This commit is contained in:
1 parent
967d9e61a9
commit
b221fd965a
15 files changed
+38
-2
No files matched your search
@@ -6,7 +6,7 @@ metadata:
|
||||
namespace: flux-system
|
||||
spec:
|
||||
interval: 10m0s
|
||||
path: ./metallb/
|
||||
path: ./metallb-system/
|
||||
prune: true
|
||||
force: false
|
||||
sourceRef:
|
||||
|
||||
@@ -6,7 +6,7 @@ metadata:
|
||||
namespace: flux-system
|
||||
spec:
|
||||
interval: 10m0s
|
||||
path: ./traefik/
|
||||
path: ./traefik-system/
|
||||
prune: true
|
||||
force: false
|
||||
sourceRef:
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
---
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- sc.iscsi.yaml
|
||||
- pv.minio.yaml
|
||||
@@ -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
|
||||
@@ -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.
Reference in new issue
Block a user