From 7d5d5b4dc4bf184d1b21c3fcbb7d6c33bba7de6d Mon Sep 17 00:00:00 2001 From: Kjeld Schouten Date: Wed, 20 Mar 2024 15:00:13 +0100 Subject: [PATCH] feat(openebs): BREAKING CHANGE (on scale) use zfs backend instead of localpath on scale (#19548) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit **Description** Instead of a local path, we will use the ZFS backend on SCALE instead for OpenEBS. Reason for that, is the support for snapshotting, which would allow us fancy things with both Velero and/or volsync **โš™๏ธ Type of change** - [x] โš™๏ธ Feature/App addition - [ ] ๐Ÿช› Bugfix - [x] โš ๏ธ Breaking change (fix or feature that would cause existing functionality to not work as expected) - [ ] ๐Ÿ”ƒ Refactor of current code **๐Ÿงช How Has This Been Tested?** **๐Ÿ“ƒ Notes:** **โœ”๏ธ Checklist:** - [ ] โš–๏ธ My code follows the style guidelines of this project - [ ] ๐Ÿ‘€ I have performed a self-review of my own code - [ ] #๏ธโƒฃ I have commented my code, particularly in hard-to-understand areas - [ ] ๐Ÿ“„ I have made corresponding changes to the documentation - [ ] โš ๏ธ My changes generate no new warnings - [ ] ๐Ÿงช I have added tests to this description that prove my fix is effective or that my feature works - [ ] โฌ†๏ธ I increased versions for any altered app according to semantic versioning - [ ] I made sure the title starts with `feat(chart-name):`, `fix(chart-name):` or `chore(chart-name):` **โž• App addition** If this PR is an app addition please make sure you have done the following. - [ ] ๐Ÿ–ผ๏ธ I have added an icon in the Chart's root directory called `icon.png` --- _Please don't blindly check all the boxes. Read them and only check those that apply. Those checkboxes are there for the reviewer to see what is this all about and the status of this PR with a quick glance._ --- charts/system/openebs/Chart.yaml | 2 +- charts/system/openebs/questions.yaml | 113 +++++++++++++++++++++------ 2 files changed, 92 insertions(+), 23 deletions(-) diff --git a/charts/system/openebs/Chart.yaml b/charts/system/openebs/Chart.yaml index d79959cece9..66e8cf16a63 100644 --- a/charts/system/openebs/Chart.yaml +++ b/charts/system/openebs/Chart.yaml @@ -42,4 +42,4 @@ sources: - https://github.com/truecharts/charts/tree/master/charts/system/openebs - https://github.com/truecharts/containers/tree/master/apps/scratch type: application -version: 3.7.1 +version: 3.7.2 diff --git a/charts/system/openebs/questions.yaml b/charts/system/openebs/questions.yaml index 704a02464c8..9eb550a6091 100644 --- a/charts/system/openebs/questions.yaml +++ b/charts/system/openebs/questions.yaml @@ -8,46 +8,115 @@ questions: schema: type: dict additional_attrs: true + hidden: true attrs: + - variable: zfs-localpv + label: "ZFS Localpv Settings" + schema: + type: dict + additional_attrs: true + hidden: true + attrs: + - variable: enabled + label: "enabled" + schema: + type: boolean + default: true + hidden: true - variable: localprovisioner label: "Localprovisioner Settings" schema: type: dict additional_attrs: true + hidden: true attrs: - - variable: enableDeviceClass - label: "enableDeviceClass" + - variable: enabled + label: "enabled" schema: type: boolean default: false - hidden: true + hidden: true + - variable: deviceClass + label: "deviceClass" + schema: + additional_attrs: true + type: dict + attrs: + - variable: enabled + label: "enabled" + schema: + type: boolean + default: false + hidden: true - variable: hostpathClass label: "hostpathClass" schema: additional_attrs: true type: dict attrs: - - variable: reclaimPolicy - label: "reclaimPolicy" - schema: - type: string - required: true - default: "Retain" - enum: - - value: Retain - description: Retain (Keep Data on App Deletion) - - value: Delete - description: Delete (Delete data on App Deletion) - - variable: isDefaultClass - label: "Default Class" + - variable: enabled + label: "enabled" schema: type: boolean - required: true - default: true - - variable: basePath - label: "basePath" - description: "Path to store your application data into" + default: false + hidden: true + + + - variable: storageClass + group: "Storage and Persistence" + label: "StorageClass Settings" + schema: + type: dict + additional_attrs: true + hidden: true + attrs: + - variable: zfs-main + label: "ZFS Localpv Settings" + schema: + type: dict + additional_attrs: true + hidden: true + attrs: + - variable: enabled + label: "enabled" + schema: + type: boolean + default: true + hidden: true + - variable: provisioner + label: "provisioner" + schema: + type: string + default: "zfs.csi.openebs.io" + hidden: true + required: true + - variable: isDefaultClass + label: "Default Class" + schema: + type: boolean + default: true + - variable: reclaimPolicy + label: "reclaimPolicy" + schema: + type: string + required: true + default: "Retain" + enum: + - value: Retain + description: Retain (Keep Data on App Deletion) + - value: Delete + description: Delete (Delete data on App Deletion) + - variable: parameters + label: "parameters" + schema: + type: dict + additional_attrs: true + hidden: true + attrs: + - variable: poolname + label: "Pool/Dataset" schema: type: string - required: true default: "" + required: true + \ No newline at end of file