2021-11-06 18:23:24 +00:00
|
|
|
- variable: size
|
|
|
|
label: "Size quotum of storage"
|
|
|
|
schema:
|
|
|
|
show_if: [["type", "=", "pvc"]]
|
|
|
|
type: string
|
|
|
|
default: "999Gi"
|
|
|
|
- variable: hostPathType
|
|
|
|
label: "(Advanced) hostPath Type"
|
|
|
|
schema:
|
|
|
|
show_if: [["type", "=", "hostPath"]]
|
|
|
|
type: string
|
|
|
|
default: ""
|
|
|
|
enum:
|
|
|
|
- value: ""
|
|
|
|
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"
|
|
|
|
- variable: storageClass
|
|
|
|
label: "(Advanced) storageClass"
|
|
|
|
description: "Warning: Anything other than SCALE-ZFS or empty will break rollback!"
|
|
|
|
schema:
|
|
|
|
show_if: [["type", "=", "pvc"]]
|
|
|
|
type: string
|
|
|
|
default: "SCALE-ZFS"
|
|
|
|
- variable: accessMode
|
|
|
|
label: "(Advanced) Access Mode"
|
|
|
|
description: "Allow or disallow multiple PVC's writhing to the same PV"
|
|
|
|
schema:
|
|
|
|
show_if: [["type", "=", "pvc"]]
|
|
|
|
type: string
|
|
|
|
default: "ReadWriteOnce"
|
|
|
|
enum:
|
|
|
|
- value: "ReadWriteOnce"
|
|
|
|
description: "ReadWriteOnce"
|
|
|
|
- value: "ReadOnlyMany"
|
|
|
|
description: "ReadOnlyMany"
|
|
|
|
- value: "ReadWriteMany"
|
|
|
|
description: "ReadWriteMany"
|
|
|
|
- variable: advanced
|
|
|
|
label: "Show Advanced Options"
|
|
|
|
schema:
|
|
|
|
type: boolean
|
|
|
|
default: false
|
|
|
|
show_subquestions_if: true
|
|
|
|
subquestions:
|
|
|
|
- variable: labelsList
|
|
|
|
label: "Labels"
|
|
|
|
schema:
|
|
|
|
type: list
|
|
|
|
default: []
|
|
|
|
items:
|
|
|
|
- variable: labelItem
|
|
|
|
label: "Label"
|
|
|
|
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
|
|
|
|
label: "Name"
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
- variable: value
|
|
|
|
label: "Value"
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
- variable: annotationsList
|
|
|
|
label: "Annotations"
|
|
|
|
schema:
|
|
|
|
type: list
|
|
|
|
default: []
|
|
|
|
items:
|
|
|
|
- variable: annotationItem
|
|
|
|
label: "Label"
|
|
|
|
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
|
|
|
|
label: "Name"
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
- variable: value
|
|
|
|
label: "Value"
|
|
|
|
schema:
|
|
|
|
type: string
|