From d1e54587be3a03d95b40ec590fa76e4aa4fc0c36 Mon Sep 17 00:00:00 2001 From: martinohmann Date: Sun, 5 May 2024 14:22:06 +0200 Subject: [PATCH] chore: migrate to new openebs chart repository (#1457) The old chart repository was archived eagerly a couple of days ago, which broke things for a lot of people. They reinstated the repository now, but added a deprecation notice to it. This change switches openebs to the new chart repo. Since this does not contain release for the 3.x branch anymore, I did the necessary values changes to bump openebs to 4.x. With the new values, it will only deploy the localpv-provisioner, just like we did on version 3.x. I'm using 4.x already since a couple of days and it's working as intended (https://github.com/martinohmann/home-ops/blob/main/kubernetes/main/apps/openebs-system/openebs/app/helmrelease.yaml). --- .../openebs/app/helmrelease.yaml.j2 | 27 ++++++++++++------- .../flux/repositories/helm/openebs.yaml.j2 | 2 +- 2 files changed, 19 insertions(+), 10 deletions(-) diff --git a/bootstrap/templates/kubernetes/apps/openebs-system/openebs/app/helmrelease.yaml.j2 b/bootstrap/templates/kubernetes/apps/openebs-system/openebs/app/helmrelease.yaml.j2 index e7c1b45c..8862d6f3 100644 --- a/bootstrap/templates/kubernetes/apps/openebs-system/openebs/app/helmrelease.yaml.j2 +++ b/bootstrap/templates/kubernetes/apps/openebs-system/openebs/app/helmrelease.yaml.j2 @@ -8,7 +8,7 @@ spec: chart: spec: chart: openebs - version: 3.10.0 + version: 4.0.1 sourceRef: kind: HelmRepository name: openebs @@ -21,14 +21,23 @@ spec: remediation: retries: 3 values: - ndm: - enabled: false - ndmOperator: - enabled: false - localprovisioner: - enabled: true - deviceClass: - enabled: false + engines: + local: + lvm: + enabled: false + zfs: + enabled: false + replicated: + mayastor: + enabled: false + openebs-crds: + csi: + volumeSnapshots: + enabled: false + localpv-provisioner: + localpv: + image: + registry: quay.io/ hostpathClass: enabled: true name: openebs-hostpath diff --git a/bootstrap/templates/kubernetes/flux/repositories/helm/openebs.yaml.j2 b/bootstrap/templates/kubernetes/flux/repositories/helm/openebs.yaml.j2 index d0f105e6..52672497 100644 --- a/bootstrap/templates/kubernetes/flux/repositories/helm/openebs.yaml.j2 +++ b/bootstrap/templates/kubernetes/flux/repositories/helm/openebs.yaml.j2 @@ -6,4 +6,4 @@ metadata: namespace: flux-system spec: interval: 1h - url: https://openebs.github.io/charts + url: https://openebs.github.io/openebs