From ee379aa802eb3eebc4f667e1a4fa1abc663183a3 Mon Sep 17 00:00:00 2001 From: Stefan Reimer Date: Thu, 26 Aug 2021 15:31:47 +0200 Subject: [PATCH] feat: reduce openEBS to LVM localPV --- charts/kubezero-storage/Chart.yaml | 12 +++---- charts/kubezero-storage/values.yaml | 51 ++++++++--------------------- 2 files changed, 20 insertions(+), 43 deletions(-) diff --git a/charts/kubezero-storage/Chart.yaml b/charts/kubezero-storage/Chart.yaml index 10de225d..659f1a27 100644 --- a/charts/kubezero-storage/Chart.yaml +++ b/charts/kubezero-storage/Chart.yaml @@ -1,8 +1,8 @@ apiVersion: v2 name: kubezero-storage -description: KubeZero umbrella chart for all things storage, eg. openEBS +description: KubeZero umbrella chart for all things storage, eg. openEBS-lvm type: application -version: 0.1.2 +version: 0.2.0 home: https://kubezero.com icon: https://cdn.zero-downtime.net/assets/kubezero/logo-small-64.png keywords: @@ -11,8 +11,8 @@ keywords: maintainers: - name: Quarky9 dependencies: - - name: openebs - version: 2.11.2 - repository: https://openebs.github.io/charts - condition: openebs.enabled + - name: lvm-localpv + version: 0.8.0 + repository: https://openebs.github.io/lvm-localpv + condition: lvm-localpv.enabled kubeVersion: ">= 1.18.0" diff --git a/charts/kubezero-storage/values.yaml b/charts/kubezero-storage/values.yaml index eb5e1966..22ecac7f 100644 --- a/charts/kubezero-storage/values.yaml +++ b/charts/kubezero-storage/values.yaml @@ -1,43 +1,20 @@ -openebs: +lvm-localpv: enabled: true - apiserver: - enabled: false - provisioner: - enabled: false - localprovisioner: - enabled: false - ndm: - enabled: false - ndmOperator: - enabled: false - snapshotOperator: - enabled: false - webhook: - enabled: false + lvmNode: + nodeSelector: + node.kubernetes.io/lvm: "openebs" + tolerations: + - key: kubezero-workergroup + effect: NoSchedule + operator: Exists - # Google Analytics ?? - analytics: - enabled: false - - # We only use LVM for now - lvm-localpv: - enabled: true - - lvmNode: - nodeSelector: - node.kubernetes.io/lvm: "openebs" - tolerations: - - key: kubezero-workergroup - effect: NoSchedule - operator: Exists - - lvmController: - tolerations: - - key: node-role.kubernetes.io/master - effect: NoSchedule - nodeSelector: - node-role.kubernetes.io/master: "" + lvmController: + tolerations: + - key: node-role.kubernetes.io/master + effect: NoSchedule + nodeSelector: + node-role.kubernetes.io/master: "" storageClass: vgpattern: ""