feat(openebs/scale): Add GUI to set default storageclass location and disable device-based storageClass (#19191)

**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?**
<!--
Please describe the tests that you ran to verify your changes. Provide
instructions so we can reproduce. Please also list any relevant details
for your test configuration
-->

**📃 Notes:**
<!-- Please enter any other relevant information here -->

**✔️ 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._
This commit is contained in:
Kjeld Schouten
2024-03-13 22:09:05 +01:00
committed by GitHub
parent 7255240a64
commit 3366c9d4c6
2 changed files with 51 additions and 1 deletions
+1 -1
View File
@@ -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
+50
View File
@@ -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: ""