2023-12-05 23:04:19 +00:00
|
|
|
# Include{groups}
|
|
|
|
questions:
|
|
|
|
# Include{global}
|
2024-03-13 21:09:05 +00:00
|
|
|
|
2024-03-26 12:33:19 +00:00
|
|
|
|
|
|
|
- variable: zfs-localpv
|
2024-04-21 12:31:23 +00:00
|
|
|
group: "App Configuration"
|
2024-03-26 12:33:19 +00:00
|
|
|
label: "ZFS Localpv Settings"
|
2024-03-13 21:09:05 +00:00
|
|
|
schema:
|
|
|
|
type: dict
|
|
|
|
additional_attrs: true
|
2024-03-21 00:09:06 +00:00
|
|
|
hidden: true
|
2024-03-13 21:09:05 +00:00
|
|
|
attrs:
|
2024-03-26 12:33:19 +00:00
|
|
|
- variable: enabled
|
|
|
|
label: "enabled"
|
2024-03-20 14:00:13 +00:00
|
|
|
schema:
|
2024-03-26 12:33:19 +00:00
|
|
|
type: boolean
|
|
|
|
default: true
|
2024-03-21 00:09:06 +00:00
|
|
|
hidden: true
|
2024-03-26 12:33:19 +00:00
|
|
|
- variable: localpv-provisioner
|
2024-04-21 12:31:23 +00:00
|
|
|
group: "App Configuration"
|
2024-03-26 12:33:19 +00:00
|
|
|
label: "localpv-provisioner Settings"
|
|
|
|
schema:
|
|
|
|
type: dict
|
|
|
|
additional_attrs: true
|
|
|
|
hidden: true
|
|
|
|
attrs:
|
|
|
|
- variable: enabled
|
|
|
|
label: "enabled"
|
2024-03-13 21:09:05 +00:00
|
|
|
schema:
|
2024-03-26 12:33:19 +00:00
|
|
|
type: boolean
|
|
|
|
default: false
|
2024-03-21 00:09:06 +00:00
|
|
|
hidden: true
|
2024-03-26 12:33:19 +00:00
|
|
|
- variable: hostpathClass
|
|
|
|
label: "hostpathClass"
|
|
|
|
schema:
|
|
|
|
additional_attrs: true
|
|
|
|
type: dict
|
2024-03-13 21:09:05 +00:00
|
|
|
attrs:
|
2024-03-20 14:00:13 +00:00
|
|
|
- variable: enabled
|
|
|
|
label: "enabled"
|
2024-03-13 21:09:05 +00:00
|
|
|
schema:
|
|
|
|
type: boolean
|
|
|
|
default: false
|
2024-03-21 00:09:06 +00:00
|
|
|
hidden: true
|
|
|
|
|
|
|
|
|
2024-03-20 14:00:13 +00:00
|
|
|
- variable: storageClass
|
2024-04-21 12:31:23 +00:00
|
|
|
group: StorageClass
|
2024-03-20 14:00:13 +00:00
|
|
|
label: "StorageClass Settings"
|
|
|
|
schema:
|
|
|
|
type: dict
|
|
|
|
additional_attrs: true
|
|
|
|
attrs:
|
|
|
|
- variable: zfs-main
|
|
|
|
label: "ZFS Localpv Settings"
|
|
|
|
schema:
|
|
|
|
type: dict
|
|
|
|
additional_attrs: true
|
|
|
|
attrs:
|
|
|
|
- variable: enabled
|
|
|
|
label: "enabled"
|
|
|
|
schema:
|
|
|
|
type: boolean
|
|
|
|
default: true
|
|
|
|
- variable: provisioner
|
|
|
|
label: "provisioner"
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
default: "zfs.csi.openebs.io"
|
|
|
|
hidden: true
|
|
|
|
required: true
|
2024-03-27 17:44:23 +00:00
|
|
|
- variable: isDefault
|
2024-03-20 14:00:13 +00:00
|
|
|
label: "Default Class"
|
|
|
|
schema:
|
|
|
|
type: boolean
|
|
|
|
default: true
|
|
|
|
- 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)
|
2024-03-27 22:17:52 +00:00
|
|
|
- variable: allowVolumeExpansion
|
|
|
|
label: "Allow VolumeExpansion"
|
|
|
|
schema:
|
|
|
|
type: boolean
|
|
|
|
default: true
|
2024-03-20 14:00:13 +00:00
|
|
|
- variable: parameters
|
|
|
|
label: "parameters"
|
|
|
|
schema:
|
|
|
|
type: dict
|
|
|
|
additional_attrs: true
|
|
|
|
attrs:
|
|
|
|
- variable: poolname
|
|
|
|
label: "Pool/Dataset"
|
2024-04-22 11:55:55 +00:00
|
|
|
description: "Please use a correct Poolname/datasetname. Do NOT use /mnt/ thats a path not a pool/dataset name, use something like tank/apps"
|
2024-03-13 21:09:05 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
2024-03-14 00:09:05 +00:00
|
|
|
default: ""
|
2024-04-24 18:57:39 +00:00
|
|
|
valid_chars: '^(?!.*\\)(?!.*ix-applications)[^\/]+(\/[^\/]+)+$'
|
2024-03-20 14:00:13 +00:00
|
|
|
required: true
|
2024-03-27 22:17:52 +00:00
|
|
|
- variable: fstype
|
|
|
|
label: "fstype"
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
default: "zfs"
|
|
|
|
hidden: true
|
|
|
|
required: true
|
|
|
|
- variable: shared
|
|
|
|
label: "shared"
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
default: "yes"
|
|
|
|
hidden: true
|
2024-03-27 22:24:56 +00:00
|
|
|
- variable: thinprovision
|
|
|
|
label: "thinprovision"
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
default: "yes"
|
|
|
|
hidden: true
|
|
|
|
- variable: compression
|
|
|
|
label: "compression"
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
default: "zstd-6"
|
|
|
|
hidden: true
|
|
|
|
- variable: recordsize
|
|
|
|
label: "recordsize"
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
default: "64k"
|
|
|
|
hidden: true
|
|
|
|
- variable: dedup
|
|
|
|
label: "dedup"
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
default: "off"
|
|
|
|
hidden: true
|
2024-04-26 10:19:18 +00:00
|
|
|
## TODO: Add later
|
|
|
|
#- variable: encryption
|
|
|
|
# label: "dedup"
|
|
|
|
# schema:
|
|
|
|
# type: string
|
|
|
|
# default: "off"
|
|
|
|
# hidden: true
|