chore: Repurpose openebs to be local FS

This commit is contained in:
2026-02-24 14:14:26 +01:00
parent aef3651518
commit 65d9b5ca2c
3 changed files with 62 additions and 55 deletions

View File

@@ -1,55 +0,0 @@
---
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,55 @@
---
# yaml-language-server: $schema=https://kubernetes-schemas.pages.dev/helm.toolkit.fluxcd.io/helmrelease_v2.json
apiVersion: helm.toolkit.fluxcd.io/v2
kind: HelmRelease
metadata:
name: openebs
spec:
chartRef:
kind: OCIRepository
name: openebs
interval: 1h
values:
preUpgradeHook:
enabled: false
localpv-provisioner:
analytics:
enabled: false
localpv:
image:
registry: quay.io/
basePath: &hostPath /var/mnt/local-hostpath
hostpathClass:
enabled: true
name: openebs-hostpath
isDefaultClass: false
basePath: *hostPath
helperPod:
image:
registry: quay.io/
openebs-crds:
csi:
volumeSnapshots:
enabled: false
keep: false
zfs-localpv:
enabled: false
lvm-localpv:
enabled: false
mayastor:
enabled: false
engines:
local:
lvm:
enabled: false
zfs:
enabled: false
replicated:
mayastor:
enabled: false
loki:
enabled: false
alloy:
enabled: false
minio:
enabled: false

View File

@@ -0,0 +1,7 @@
---
# yaml-language-server: $schema=https://json.schemastore.org/kustomization
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- ./helmrelease.yaml
- ./ocirepository.yaml