2021-09-13 09:12:18 +00:00
|
|
|
- variable: persistenceList
|
2022-08-08 21:25:02 +00:00
|
|
|
label: Additional App Storage
|
|
|
|
group: Storage and Persistence
|
2021-09-13 09:12:18 +00:00
|
|
|
schema:
|
|
|
|
type: list
|
|
|
|
default: []
|
|
|
|
items:
|
|
|
|
- variable: persistenceListEntry
|
2022-08-08 21:25:02 +00:00
|
|
|
label: Custom Storage
|
2021-09-13 09:12:18 +00:00
|
|
|
schema:
|
2022-01-21 00:35:59 +00:00
|
|
|
additional_attrs: true
|
2021-09-13 09:12:18 +00:00
|
|
|
type: dict
|
|
|
|
attrs:
|
|
|
|
- variable: enabled
|
2022-08-08 21:25:02 +00:00
|
|
|
label: Enable the storage
|
2021-09-13 09:12:18 +00:00
|
|
|
schema:
|
|
|
|
type: boolean
|
|
|
|
default: true
|
|
|
|
hidden: true
|
2021-11-07 10:49:14 +00:00
|
|
|
- variable: name
|
2022-08-08 21:25:02 +00:00
|
|
|
label: Name (Optional)
|
2021-11-07 10:49:14 +00:00
|
|
|
description: "Not required, please set to config when mounting /config or temp when mounting /tmp"
|
|
|
|
schema:
|
|
|
|
type: string
|
2021-09-13 09:12:18 +00:00
|
|
|
- variable: type
|
2022-08-08 21:25:02 +00:00
|
|
|
label: Type of Storage
|
|
|
|
description: Sets the persistence type, Anything other than PVC could break rollback!
|
2021-09-13 09:12:18 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
2022-08-08 21:25:02 +00:00
|
|
|
default: simpleHP
|
2021-09-13 09:12:18 +00:00
|
|
|
enum:
|
2022-08-08 21:25:02 +00:00
|
|
|
- value: simplePVC
|
|
|
|
description: PVC (Simple)
|
|
|
|
- value: simpleHP
|
|
|
|
description: Host Path (Simple)
|
|
|
|
- value: emptyDir
|
|
|
|
description: emptyDir
|
|
|
|
- value: pvc
|
|
|
|
description: PVC
|
|
|
|
- value: hostPath
|
|
|
|
description: Host Path
|
|
|
|
- value: nfs
|
|
|
|
description: NFS Share
|
2022-06-05 14:59:11 +00:00
|
|
|
- variable: server
|
2022-08-08 21:25:02 +00:00
|
|
|
label: NFS Server
|
2022-06-05 14:59:11 +00:00
|
|
|
schema:
|
|
|
|
show_if: [["type", "=", "nfs"]]
|
|
|
|
type: string
|
|
|
|
default: ""
|
|
|
|
- variable: path
|
2022-08-08 21:25:02 +00:00
|
|
|
label: Path on NFS Server
|
2022-06-05 14:59:11 +00:00
|
|
|
schema:
|
|
|
|
show_if: [["type", "=", "nfs"]]
|
|
|
|
type: string
|
|
|
|
default: ""
|
2021-11-06 17:56:41 +00:00
|
|
|
- variable: setPermissionsSimple
|
2022-08-08 21:25:02 +00:00
|
|
|
label: Automatic Permissions
|
|
|
|
description: Automatically set permissions on install
|
2021-11-06 17:56:41 +00:00
|
|
|
schema:
|
|
|
|
show_if: [["type", "=", "simpleHP"]]
|
|
|
|
type: boolean
|
2022-09-17 10:35:11 +00:00
|
|
|
default: false
|
2021-09-13 09:12:18 +00:00
|
|
|
- variable: setPermissions
|
2022-08-08 21:25:02 +00:00
|
|
|
label: Automatic Permissions
|
|
|
|
description: Automatically set permissions on install
|
2021-09-13 09:12:18 +00:00
|
|
|
schema:
|
2021-11-06 17:56:41 +00:00
|
|
|
show_if: [["type", "=", "hostPath"]]
|
2021-09-13 09:12:18 +00:00
|
|
|
type: boolean
|
2022-09-17 10:35:11 +00:00
|
|
|
default: false
|
2021-09-13 09:12:18 +00:00
|
|
|
- variable: readOnly
|
2022-08-08 21:25:02 +00:00
|
|
|
label: Read Only
|
2021-09-13 09:12:18 +00:00
|
|
|
schema:
|
|
|
|
type: boolean
|
|
|
|
default: false
|
2021-11-06 17:56:41 +00:00
|
|
|
- variable: hostPathSimple
|
2022-08-08 21:25:02 +00:00
|
|
|
label: Host Path
|
|
|
|
description: Path inside the container the storage is mounted
|
2021-11-06 17:56:41 +00:00
|
|
|
schema:
|
|
|
|
show_if: [["type", "=", "simpleHP"]]
|
|
|
|
type: hostpath
|
2021-09-13 09:12:18 +00:00
|
|
|
- variable: hostPath
|
2022-08-08 21:25:02 +00:00
|
|
|
label: Host Path
|
|
|
|
description: Path inside the container the storage is mounted
|
2021-09-13 09:12:18 +00:00
|
|
|
schema:
|
2021-11-06 17:56:41 +00:00
|
|
|
show_if: [["type", "=", "hostPath"]]
|
2021-09-13 09:12:18 +00:00
|
|
|
type: hostpath
|
2021-11-06 15:38:54 +00:00
|
|
|
- variable: mountPath
|
2022-08-08 21:25:02 +00:00
|
|
|
label: Mount Path
|
|
|
|
description: Path inside the container the storage is mounted
|
2021-11-06 15:38:54 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
default: ""
|
|
|
|
required: true
|
2021-11-10 21:14:55 +00:00
|
|
|
valid_chars: '^\/([a-zA-Z0-9._-]+(\s?[a-zA-Z0-9._-]+|\/?))+$'
|
2021-11-06 15:38:54 +00:00
|
|
|
- variable: medium
|
2022-08-08 21:25:02 +00:00
|
|
|
label: EmptyDir Medium
|
2021-11-06 15:38:54 +00:00
|
|
|
schema:
|
|
|
|
show_if: [["type", "=", "emptyDir"]]
|
|
|
|
type: string
|
|
|
|
default: ""
|
|
|
|
enum:
|
|
|
|
- value: ""
|
2022-08-08 21:25:02 +00:00
|
|
|
description: Default
|
|
|
|
- value: Memory
|
|
|
|
description: Memory
|
2021-11-06 15:38:54 +00:00
|
|
|
- variable: size
|
2022-08-08 21:25:02 +00:00
|
|
|
label: Size Quotum of Storage
|
2021-11-06 15:38:54 +00:00
|
|
|
schema:
|
2021-11-06 17:56:41 +00:00
|
|
|
show_if: [["type", "=", "pvc"]]
|
2021-11-06 15:38:54 +00:00
|
|
|
type: string
|
2022-09-30 17:22:42 +00:00
|
|
|
default: 256Gi
|
2021-09-13 09:12:18 +00:00
|
|
|
- variable: hostPathType
|
2022-08-08 21:25:02 +00:00
|
|
|
label: (Advanced) Host Path Type
|
2021-09-13 09:12:18 +00:00
|
|
|
schema:
|
|
|
|
show_if: [["type", "=", "hostPath"]]
|
|
|
|
type: string
|
|
|
|
default: ""
|
|
|
|
enum:
|
|
|
|
- value: ""
|
2022-08-08 21:25:02 +00:00
|
|
|
description: Default
|
|
|
|
- value: DirectoryOrCreate
|
|
|
|
description: DirectoryOrCreate
|
|
|
|
- value: Directory
|
|
|
|
description: Directory
|
|
|
|
- value: FileOrCreate
|
|
|
|
description: FileOrCreate
|
|
|
|
- value: File
|
|
|
|
description: File
|
|
|
|
- value: Socket
|
|
|
|
description: Socket
|
|
|
|
- value: CharDevice
|
|
|
|
description: CharDevice
|
|
|
|
- value: BlockDevice
|
|
|
|
description: BlockDevice
|
2021-11-06 15:38:54 +00:00
|
|
|
- variable: storageClass
|
2022-08-08 21:25:02 +00:00
|
|
|
label: (Advanced) StorageClass
|
2021-11-06 15:38:54 +00:00
|
|
|
description: "Warning: Anything other than SCALE-ZFS or empty will break rollback!"
|
2021-09-13 09:12:18 +00:00
|
|
|
schema:
|
2021-11-06 15:38:54 +00:00
|
|
|
show_if: [["type", "=", "pvc"]]
|
2021-09-13 09:12:18 +00:00
|
|
|
type: string
|
2022-08-08 21:25:02 +00:00
|
|
|
default: SCALE-ZFS
|
2021-09-13 09:12:18 +00:00
|
|
|
- variable: accessMode
|
2022-08-08 21:25:02 +00:00
|
|
|
label: (Advanced) Access Mode
|
|
|
|
description: Allow or disallow multiple PVC's writhing to the same PV
|
2021-09-13 09:12:18 +00:00
|
|
|
schema:
|
|
|
|
show_if: [["type", "=", "pvc"]]
|
|
|
|
type: string
|
2022-08-08 21:25:02 +00:00
|
|
|
default: ReadWriteOnce
|
2021-09-13 09:12:18 +00:00
|
|
|
enum:
|
2022-08-08 21:25:02 +00:00
|
|
|
- value: ReadWriteOnce
|
|
|
|
description: ReadWriteOnce
|
|
|
|
- value: ReadOnlyMany
|
|
|
|
description: ReadOnlyMany
|
|
|
|
- value: ReadWriteMany
|
|
|
|
description: ReadWriteMany
|
2021-11-06 15:38:54 +00:00
|
|
|
- variable: advanced
|
2022-08-08 21:25:02 +00:00
|
|
|
label: Show Advanced Options
|
2021-09-13 09:12:18 +00:00
|
|
|
schema:
|
2021-11-06 15:38:54 +00:00
|
|
|
type: boolean
|
|
|
|
default: false
|
|
|
|
show_subquestions_if: true
|
|
|
|
subquestions:
|
|
|
|
- variable: labelsList
|
2022-08-08 21:25:02 +00:00
|
|
|
label: Labels
|
2021-11-06 15:38:54 +00:00
|
|
|
schema:
|
|
|
|
type: list
|
|
|
|
default: []
|
|
|
|
items:
|
|
|
|
- variable: labelItem
|
2022-08-08 21:25:02 +00:00
|
|
|
label: Label
|
2021-11-06 15:38:54 +00:00
|
|
|
schema:
|
2022-01-21 00:35:59 +00:00
|
|
|
additional_attrs: true
|
2021-11-06 15:38:54 +00:00
|
|
|
type: dict
|
|
|
|
attrs:
|
|
|
|
- variable: name
|
2022-08-08 21:25:02 +00:00
|
|
|
label: Name
|
2021-11-06 15:38:54 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
- variable: value
|
2022-08-08 21:25:02 +00:00
|
|
|
label: Value
|
2021-11-06 15:38:54 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
- variable: annotationsList
|
2022-08-08 21:25:02 +00:00
|
|
|
label: Annotations
|
2021-11-06 15:38:54 +00:00
|
|
|
schema:
|
|
|
|
type: list
|
|
|
|
default: []
|
|
|
|
items:
|
|
|
|
- variable: annotationItem
|
2022-08-08 21:25:02 +00:00
|
|
|
label: Label
|
2021-11-06 15:38:54 +00:00
|
|
|
schema:
|
2022-01-21 00:35:59 +00:00
|
|
|
additional_attrs: true
|
2021-11-06 15:38:54 +00:00
|
|
|
type: dict
|
|
|
|
attrs:
|
|
|
|
- variable: name
|
2022-08-08 21:25:02 +00:00
|
|
|
label: Name
|
2021-11-06 15:38:54 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
- variable: value
|
2022-08-08 21:25:02 +00:00
|
|
|
label: Value
|
2021-11-06 15:38:54 +00:00
|
|
|
schema:
|
|
|
|
type: string
|