**Description** This adds iSCSI mountpoints as a storage option to the SCALE GUI. Though there is no common support merged yet. Will become functional in january. ⚒️ Fixes #14845 **⚙️ 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 opened a PR on [truecharts/containers](https://github.com/truecharts/containers) adding the container to TrueCharts mirror repo. - [ ] 🖼️ 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._
267 lines
11 KiB
YAML
267 lines
11 KiB
YAML
- variable: type
|
|
label: Type of Storage
|
|
description: Sets the persistence type, Anything other than PVC could break rollback!
|
|
schema:
|
|
type: string
|
|
default: pvc
|
|
enum:
|
|
- value: pvc
|
|
description: PVC
|
|
- value: hostPath
|
|
description: Host Path
|
|
- value: emptyDir
|
|
description: emptyDir
|
|
- value: nfs
|
|
description: NFS Share
|
|
- value: iscsi
|
|
description: iSCSI Share
|
|
- variable: server
|
|
label: NFS Server
|
|
schema:
|
|
show_if: [["type", "=", "nfs"]]
|
|
type: string
|
|
default: ""
|
|
- variable: path
|
|
label: Path on NFS Server
|
|
schema:
|
|
show_if: [["type", "=", "nfs"]]
|
|
type: string
|
|
default: ""
|
|
- variable: iscsi
|
|
label: iSCSI Options
|
|
schema:
|
|
show_if: [["type", "=", "iscsi"]]
|
|
type: dict
|
|
additional_attrs: true
|
|
attrs:
|
|
- variable: targetPortal
|
|
label: targetPortal
|
|
schema:
|
|
type: string
|
|
required: true
|
|
default: ""
|
|
- variable: iqn
|
|
label: iqn
|
|
schema:
|
|
type: string
|
|
required: true
|
|
default: ""
|
|
- variable: lun
|
|
label: lun
|
|
schema:
|
|
type: int
|
|
default: 0
|
|
- variable: authSession
|
|
label: authSession
|
|
schema:
|
|
type: dict
|
|
additional_attrs: true
|
|
attrs:
|
|
- variable: username
|
|
label: username
|
|
schema:
|
|
type: string
|
|
default: ""
|
|
- variable: password
|
|
label: password
|
|
schema:
|
|
type: string
|
|
default: ""
|
|
- variable: usernameInitiator
|
|
label: usernameInitiator
|
|
schema:
|
|
type: string
|
|
default: ""
|
|
- variable: passwordInitiator
|
|
label: passwordInitiator
|
|
schema:
|
|
type: string
|
|
default: ""
|
|
- variable: authDiscovery
|
|
label: authDiscovery
|
|
schema:
|
|
type: dict
|
|
additional_attrs: true
|
|
attrs:
|
|
- variable: username
|
|
label: username
|
|
schema:
|
|
type: string
|
|
default: ""
|
|
- variable: password
|
|
label: password
|
|
schema:
|
|
type: string
|
|
default: ""
|
|
- variable: usernameInitiator
|
|
label: usernameInitiator
|
|
schema:
|
|
type: string
|
|
default: ""
|
|
- variable: passwordInitiator
|
|
label: passwordInitiator
|
|
schema:
|
|
type: string
|
|
default: ""
|
|
|
|
- variable: autoPermissions
|
|
label: Automatic Permissions Configuration
|
|
description: Automatically set permissions
|
|
schema:
|
|
show_if: [["type", "!=", "pvc"]]
|
|
type: dict
|
|
additional_attrs: true
|
|
attrs:
|
|
- variable: enabled
|
|
label: enabled
|
|
schema:
|
|
type: boolean
|
|
default: false
|
|
show_subquestions_if: true
|
|
subquestions:
|
|
- variable: chown
|
|
label: Run CHOWN
|
|
description: |
|
|
It will run CHOWN on the path with the given fsGroup
|
|
schema:
|
|
type: boolean
|
|
default: false
|
|
- variable: chmod
|
|
label: Run CHMOD
|
|
description: |
|
|
It will run CHMOD on the path with the given value</br>
|
|
Format should be 3 digits, e.g. 770
|
|
schema:
|
|
type: string
|
|
valid_chars: '[0-9]{3}'
|
|
default: ""
|
|
- variable: recursive
|
|
label: Recursive
|
|
description: |
|
|
It will run CHOWN and CHMOD recursively
|
|
schema:
|
|
type: boolean
|
|
default: false
|
|
- variable: readOnly
|
|
label: Read Only
|
|
schema:
|
|
type: boolean
|
|
default: false
|
|
- variable: hostPath
|
|
label: Host Path
|
|
description: Path inside the container the storage is mounted
|
|
schema:
|
|
show_if: [["type", "=", "hostPath"]]
|
|
type: hostpath
|
|
- variable: medium
|
|
label: EmptyDir Medium
|
|
schema:
|
|
show_if: [["type", "=", "emptyDir"]]
|
|
type: string
|
|
default: ""
|
|
enum:
|
|
- value: ""
|
|
description: Default
|
|
- value: Memory
|
|
description: Memory
|
|
- variable: size
|
|
label: Size quotum of Storage (Do NOT REDUCE after installation)
|
|
description: This value can ONLY be INCREASED after the installation
|
|
schema:
|
|
show_if: [["type", "=", "pvc"]]
|
|
type: string
|
|
default: 256Gi
|
|
- variable: storageClass
|
|
label: 'storageClass (Advanced)'
|
|
description: 'sets the storageClass to something other than iX default. Only for advanced usecases!'
|
|
schema:
|
|
show_if: [["type", "=", "pvc"]]
|
|
type: string
|
|
default: ""
|
|
- variable: static
|
|
label: 'Static Fixed PVC Bindings (Experimental)'
|
|
description: Link a PVC to a specific storage location
|
|
schema:
|
|
show_if: [["type", "=", "pvc"]]
|
|
type: dict
|
|
additional_attrs: true
|
|
attrs:
|
|
- variable: mode
|
|
label: mode
|
|
description: |
|
|
disabled: use normal dynamic PVCs
|
|
smb: connect to an SMB share
|
|
nfs: connect to an NFS share
|
|
schema:
|
|
type: string
|
|
default: "disabled"
|
|
enum:
|
|
- value: disabled
|
|
description: disabled
|
|
- value: smb
|
|
description: smb
|
|
- value: nfs
|
|
description: nfs
|
|
- variable: server
|
|
label: Server
|
|
description: server to connect to
|
|
schema:
|
|
type: string
|
|
show_if: [["mode", "!=", "disabled"]]
|
|
default: "myserver"
|
|
- variable: share
|
|
label: Share
|
|
description: share to connect to
|
|
schema:
|
|
type: string
|
|
show_if: [["mode", "!=", "disabled"]]
|
|
default: "/myshare"
|
|
- variable: user
|
|
label: User
|
|
description: connecting user
|
|
schema:
|
|
type: string
|
|
show_if: [["mode", "=", "smb"]]
|
|
default: "myuser"
|
|
- variable: domain
|
|
label: Domain
|
|
description: user domain
|
|
schema:
|
|
type: string
|
|
show_if: [["mode", "=", "smb"]]
|
|
default: ""
|
|
- variable: password
|
|
label: Password
|
|
description: connecting password
|
|
schema:
|
|
type: string
|
|
show_if: [["mode", "=", "smb"]]
|
|
default: ""
|
|
- variable: volumeSnapshots
|
|
label: 'Volume Snapshots (Experimental)'
|
|
description: Add an entry to the list to force creation of a volumeSnapshot of this PVC
|
|
schema:
|
|
show_if: [["type", "=", "pvc"]]
|
|
type: list
|
|
default: []
|
|
items:
|
|
- variable: volumeSnapshotEntry
|
|
label: Custom volumeSnapshot
|
|
schema:
|
|
additional_attrs: true
|
|
type: dict
|
|
attrs:
|
|
- variable: name
|
|
label: Name
|
|
description: 'WARNING: renaming this, means deletion of the snapshot with the old name!'
|
|
schema:
|
|
type: string
|
|
default: "mysnapshot"
|
|
required: true
|
|
- variable: volumeSnapshotClassName
|
|
label: 'volumeSnapshot Class Name (Advanced)'
|
|
description: For use with PVCs using a non-default storageClass
|
|
schema:
|
|
type: string
|
|
default: ""
|