From 3366c9d4c69fc8c3424f7f026bcf8735bc61e1a7 Mon Sep 17 00:00:00 2001 From: Kjeld Schouten Date: Wed, 13 Mar 2024 22:09:05 +0100 Subject: [PATCH] feat(openebs/scale): Add GUI to set default storageclass location and disable device-based storageClass (#19191) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit **Description** This is, besides documentation and minor common-work, the primary thing required before we can support TrueNAS SCALE DragonFish **โš™๏ธ Type of change** - [x] โš™๏ธ Feature/App addition - [ ] ๐Ÿช› Bugfix - [ ] โš ๏ธ 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 **โž• 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/operators/openebs/Chart.yaml | 2 +- charts/operators/openebs/questions.yaml | 50 +++++++++++++++++++++++++ 2 files changed, 51 insertions(+), 1 deletion(-) diff --git a/charts/operators/openebs/Chart.yaml b/charts/operators/openebs/Chart.yaml index 3ee74350fbe..3bec73f1782 100644 --- a/charts/operators/openebs/Chart.yaml +++ b/charts/operators/openebs/Chart.yaml @@ -42,4 +42,4 @@ sources: - https://github.com/truecharts/charts/tree/master/charts/operators/openebs - https://github.com/truecharts/containers/tree/master/apps/scratch type: application -version: 3.5.2 +version: 3.5.3 diff --git a/charts/operators/openebs/questions.yaml b/charts/operators/openebs/questions.yaml index 97cb04afcd6..1ce865318ec 100644 --- a/charts/operators/openebs/questions.yaml +++ b/charts/operators/openebs/questions.yaml @@ -1,3 +1,53 @@ # Include{groups} questions: # Include{global} + + - variable: openebs + group: "Storage and Persistence" + label: "OpenEBS Settings" + schema: + type: dict + additional_attrs: true + attrs: + - variable: localprovisioner + label: "Localprovisioner Settings" + schema: + type: dict + additional_attrs: true + attrs: + - variable: enableDeviceClass + label: "enableDeviceClass" + 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" + schema: + type: boolean + required: true + default: true + - variable: basePath + label: "basePath" + description: "Path to store your application data into" + schema: + type: string + required: true + default: "" \ No newline at end of file