Skip to content

Commit

Permalink
feat(openebs/scale): Add GUI to set default storageclass location and…
Browse files Browse the repository at this point in the history
… 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._
  • Loading branch information
Kjeld Schouten authored Mar 13, 2024
1 parent 7255240 commit 3366c9d
Show file tree
Hide file tree
Showing 2 changed files with 51 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/operators/openebs/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 changes: 50 additions & 0 deletions charts/operators/openebs/questions.yaml
Original file line number Diff line number Diff line change
@@ -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: ""

0 comments on commit 3366c9d

Please sign in to comment.