feat: Add OpenEBS.

This commit is contained in:
2026-02-09 09:19:43 +01:00
parent bf641c77dd
commit 5a90c0c27f
5 changed files with 91 additions and 1 deletions

View File

@@ -5,6 +5,6 @@ namespace: storage-system
resources:
- ./namespace.yaml
# - ./openebs
- ./openebs
# - ./snapshot-controller
# - ./volsync

View File

@@ -0,0 +1,15 @@
---
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
name: openebs
spec:
path: ./kubernetes/apps/storage-system/openebs/app
sourceRef:
kind: GitRepository
name: flux-system
namespace: flux-system
targetNamespace: storage-system
interval: 10m
prune: true
wait: true

View File

@@ -0,0 +1,55 @@
---
apiVersion: helm.toolkit.fluxcd.io/v2
kind: HelmRelease
metadata:
name: openebs
spec:
interval: 10m
chartRef:
kind: OCIRepository
name: openebs
values:
localpv-provisioner:
localpv:
basePath: &hostPath /var/mnt/ceph-data/openebs
replicas: 1
enableLeaderElection: true
requests:
cpu: 20m
memory: 64Mi
limits:
memory: 128Mi
affinity:
podAntiAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
- labelSelector:
matchLabels:
name: openebs-localpv-provisioner
topologyKey: kubernetes.io/hostname
hostpathClass:
enabled: true
name: openebs-hostpath
reclaimPolicy: Delete
isDefaultClass: true
basePath: *hostPath
# ====================================================================
# ====================== Disable EVERYTHING Else =====================
# ====================================================================
analytics: {enabled: false}
alloy: {enabled: false}
loki: {enabled: false}
engines:
local:
lvm: {enabled: false}
zfs: {enabled: false}
replicated:
mayastor: {enabled: false}
openebs-crds:
csi:
volumeSnapshots:
enabled: false
keep: false

View File

@@ -0,0 +1,14 @@
---
apiVersion: source.toolkit.fluxcd.io/v1
kind: OCIRepository
metadata:
name: openebs
spec:
url: oci://ghcr.io/home-operations/charts-mirror/openebs
interval: 15m
ref: {tag: 4.4.0}
layerSelector:
mediaType: application/vnd.cncf.helm.chart.content.v1.tar+gzip
operation: copy

View File

@@ -0,0 +1,6 @@
---
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- ./app.ks.yaml