2021-11-06 18:23:24 +00:00
|
|
|
- variable: size
|
2022-08-08 21:25:02 +00:00
|
|
|
label: Size quotum of Storage
|
2021-11-06 18:23:24 +00:00
|
|
|
schema:
|
|
|
|
show_if: [["type", "=", "pvc"]]
|
|
|
|
type: string
|
2022-09-30 17:22:10 +00:00
|
|
|
default: 256Gi
|
2021-11-06 18:23:24 +00:00
|
|
|
- variable: hostPathType
|
2022-08-08 21:25:02 +00:00
|
|
|
label: (Advanced) hostPath Type
|
2021-11-06 18:23:24 +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 18:23:24 +00:00
|
|
|
- variable: storageClass
|
2022-08-08 21:25:02 +00:00
|
|
|
label: (Advanced) storageClass
|
2021-11-06 18:23:24 +00:00
|
|
|
description: "Warning: Anything other than SCALE-ZFS or empty will break rollback!"
|
|
|
|
schema:
|
|
|
|
show_if: [["type", "=", "pvc"]]
|
|
|
|
type: string
|
2022-08-08 21:25:02 +00:00
|
|
|
default: SCALE-ZFS
|
2021-11-06 18:23:24 +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-11-06 18:23:24 +00:00
|
|
|
schema:
|
|
|
|
show_if: [["type", "=", "pvc"]]
|
|
|
|
type: string
|
2022-08-08 21:25:02 +00:00
|
|
|
default: ReadWriteOnce
|
2021-11-06 18:23:24 +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 18:23:24 +00:00
|
|
|
- variable: advanced
|
2022-08-08 21:25:02 +00:00
|
|
|
label: Show Advanced Options
|
2021-11-06 18:23:24 +00:00
|
|
|
schema:
|
|
|
|
type: boolean
|
|
|
|
default: false
|
|
|
|
show_subquestions_if: true
|
|
|
|
subquestions:
|
|
|
|
- variable: labelsList
|
2022-08-08 21:25:02 +00:00
|
|
|
label: Labels
|
2021-11-06 18:23:24 +00:00
|
|
|
schema:
|
|
|
|
type: list
|
|
|
|
default: []
|
|
|
|
items:
|
|
|
|
- variable: labelItem
|
2022-08-08 21:25:02 +00:00
|
|
|
label: Label
|
2021-11-06 18:23:24 +00:00
|
|
|
schema:
|
2022-01-21 00:35:59 +00:00
|
|
|
additional_attrs: true
|
2021-11-06 18:23:24 +00:00
|
|
|
type: dict
|
|
|
|
attrs:
|
|
|
|
- variable: name
|
2022-08-08 21:25:02 +00:00
|
|
|
label: Name
|
2021-11-06 18:23:24 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
- variable: value
|
2022-08-08 21:25:02 +00:00
|
|
|
label: Value
|
2021-11-06 18:23:24 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
- variable: annotationsList
|
2022-08-08 21:25:02 +00:00
|
|
|
label: Annotations
|
2021-11-06 18:23:24 +00:00
|
|
|
schema:
|
|
|
|
type: list
|
|
|
|
default: []
|
|
|
|
items:
|
|
|
|
- variable: annotationItem
|
2022-08-08 21:25:02 +00:00
|
|
|
label: Label
|
2021-11-06 18:23:24 +00:00
|
|
|
schema:
|
2022-01-21 00:35:59 +00:00
|
|
|
additional_attrs: true
|
2021-11-06 18:23:24 +00:00
|
|
|
type: dict
|
|
|
|
attrs:
|
|
|
|
- variable: name
|
2022-08-08 21:25:02 +00:00
|
|
|
label: Name
|
2021-11-06 18:23:24 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
- variable: value
|
2022-08-08 21:25:02 +00:00
|
|
|
label: Value
|
2021-11-06 18:23:24 +00:00
|
|
|
schema:
|
|
|
|
type: string
|