|
@@ -198,27 +198,66 @@ questions:
|
|
required: true
|
|
required: true
|
|
immutable: true
|
|
immutable: true
|
|
default: /data1
|
|
default: /data1
|
|
- - variable: hostPath
|
|
|
|
- label: Host Path
|
|
|
|
- description: The host path to use for storage.
|
|
|
|
|
|
+ - variable: ixVolumeConfig
|
|
|
|
+ label: ixVolume Configuration
|
|
|
|
+ description: The configuration for the ixVolume dataset.
|
|
schema:
|
|
schema:
|
|
- type: hostpath
|
|
|
|
- required: true
|
|
|
|
- immutable: true
|
|
|
|
- default: ""
|
|
|
|
- show_if: [["type", "=", "hostPath"]]
|
|
|
|
- - variable: datasetName
|
|
|
|
- label: Dataset Name
|
|
|
|
- description: The name of the dataset to use for storage.
|
|
|
|
- schema:
|
|
|
|
- type: string
|
|
|
|
|
|
+ type: dict
|
|
show_if: [["type", "=", "ixVolume"]]
|
|
show_if: [["type", "=", "ixVolume"]]
|
|
- required: true
|
|
|
|
- immutable: true
|
|
|
|
- # Can we make this dynamic, so we can hide it?!
|
|
|
|
- default: data1
|
|
|
|
$ref:
|
|
$ref:
|
|
- "normalize/ixVolume"
|
|
- "normalize/ixVolume"
|
|
|
|
+ attrs:
|
|
|
|
+ - variable: aclEnable
|
|
|
|
+ label: Enable ACL
|
|
|
|
+ description: Enable ACL for the dataset.
|
|
|
|
+ schema:
|
|
|
|
+ type: boolean
|
|
|
|
+ # Hide ACL for now
|
|
|
|
+ hidden: true
|
|
|
|
+ default: false
|
|
|
|
+ - variable: datasetName
|
|
|
|
+ label: Dataset Name
|
|
|
|
+ description: The name of the dataset to use for storage.
|
|
|
|
+ schema:
|
|
|
|
+ type: string
|
|
|
|
+ required: true
|
|
|
|
+ immutable: true
|
|
|
|
+ default: "data1"
|
|
|
|
+ - variable: aclEntries
|
|
|
|
+ label: ACL Configuration
|
|
|
|
+ schema:
|
|
|
|
+ type: dict
|
|
|
|
+ show_if: [["aclEnable", "=", true]]
|
|
|
|
+ attrs: []
|
|
|
|
+ - variable: hostPathConfig
|
|
|
|
+ label: Host Path Configuration
|
|
|
|
+ schema:
|
|
|
|
+ type: dict
|
|
|
|
+ show_if: [["type", "=", "hostPath"]]
|
|
|
|
+ attrs:
|
|
|
|
+ - variable: aclEnable
|
|
|
|
+ label: Enable ACL
|
|
|
|
+ description: Enable ACL for the dataset.
|
|
|
|
+ schema:
|
|
|
|
+ type: boolean
|
|
|
|
+ # Hide ACL for now
|
|
|
|
+ hidden: true
|
|
|
|
+ default: false
|
|
|
|
+ - variable: acl
|
|
|
|
+ label: ACL Configuration
|
|
|
|
+ schema:
|
|
|
|
+ type: dict
|
|
|
|
+ show_if: [["aclEnable", "=", true]]
|
|
|
|
+ attrs: []
|
|
|
|
+ $ref:
|
|
|
|
+ - "normalize/acl"
|
|
|
|
+ - variable: hostPath
|
|
|
|
+ label: Host Path
|
|
|
|
+ description: The host path to use for storage.
|
|
|
|
+ schema:
|
|
|
|
+ type: hostpath
|
|
|
|
+ show_if: [["aclEnable", "=", false]]
|
|
|
|
+ required: true
|
|
|
|
|
|
- variable: minioLogging
|
|
- variable: minioLogging
|
|
label: ""
|
|
label: ""
|
|
@@ -266,6 +305,9 @@ questions:
|
|
attrs:
|
|
attrs:
|
|
- variable: type
|
|
- variable: type
|
|
label: Type
|
|
label: Type
|
|
|
|
+ description: |
|
|
|
|
+ ixVolume: Is dataset created automatically by the system.</br>
|
|
|
|
+ Host Path: Is a path that already exists on the system.
|
|
schema:
|
|
schema:
|
|
type: string
|
|
type: string
|
|
required: true
|
|
required: true
|
|
@@ -273,27 +315,74 @@ questions:
|
|
default: ixVolume
|
|
default: ixVolume
|
|
enum:
|
|
enum:
|
|
- value: hostPath
|
|
- value: hostPath
|
|
- description: Host Path
|
|
|
|
|
|
+ description: Host Path (Path that already exists on the system)
|
|
- value: ixVolume
|
|
- value: ixVolume
|
|
- description: ixVolume
|
|
|
|
- - variable: datasetName
|
|
|
|
- label: Dataset Name
|
|
|
|
|
|
+ description: ixVolume (Dataset created automatically by the system)
|
|
|
|
+ - variable: ixVolumeConfig
|
|
|
|
+ label: ixVolume Configuration
|
|
|
|
+ description: The configuration for the ixVolume dataset.
|
|
schema:
|
|
schema:
|
|
- type: string
|
|
|
|
- show_if: [["type", "=", "ixVolume"]]
|
|
|
|
- required: true
|
|
|
|
|
|
+ type: dict
|
|
|
|
+ # Nothing to show for the user
|
|
hidden: true
|
|
hidden: true
|
|
- immutable: true
|
|
|
|
- default: postgres-data
|
|
|
|
|
|
+ show_if: [["type", "=", "ixVolume"]]
|
|
$ref:
|
|
$ref:
|
|
- "normalize/ixVolume"
|
|
- "normalize/ixVolume"
|
|
- - variable: hostPath
|
|
|
|
- label: Host Path
|
|
|
|
|
|
+ attrs:
|
|
|
|
+ - variable: aclEnable
|
|
|
|
+ label: Enable ACL
|
|
|
|
+ description: Enable ACL for the dataset.
|
|
|
|
+ schema:
|
|
|
|
+ type: boolean
|
|
|
|
+ # Postgres does a CHMOD at startup
|
|
|
|
+ # Which fails with ACL
|
|
|
|
+ hidden: true
|
|
|
|
+ default: false
|
|
|
|
+ - variable: datasetName
|
|
|
|
+ label: Dataset Name
|
|
|
|
+ description: The name of the dataset to use for storage.
|
|
|
|
+ schema:
|
|
|
|
+ type: string
|
|
|
|
+ required: true
|
|
|
|
+ immutable: true
|
|
|
|
+ hidden: true
|
|
|
|
+ default: postgres-data
|
|
|
|
+ - variable: aclEntries
|
|
|
|
+ label: ACL Configuration
|
|
|
|
+ schema:
|
|
|
|
+ type: dict
|
|
|
|
+ show_if: [["aclEnable", "=", true]]
|
|
|
|
+ attrs: []
|
|
|
|
+ - variable: hostPathConfig
|
|
|
|
+ label: Host Path Configuration
|
|
schema:
|
|
schema:
|
|
- type: hostpath
|
|
|
|
|
|
+ type: dict
|
|
show_if: [["type", "=", "hostPath"]]
|
|
show_if: [["type", "=", "hostPath"]]
|
|
- immutable: true
|
|
|
|
- required: true
|
|
|
|
|
|
+ attrs:
|
|
|
|
+ - variable: aclEnable
|
|
|
|
+ label: Enable ACL
|
|
|
|
+ description: Enable ACL for the dataset.
|
|
|
|
+ schema:
|
|
|
|
+ type: boolean
|
|
|
|
+ # Postgres does a CHMOD at startup
|
|
|
|
+ # Which fails with ACL
|
|
|
|
+ hidden: true
|
|
|
|
+ default: false
|
|
|
|
+ - variable: acl
|
|
|
|
+ label: ACL Configuration
|
|
|
|
+ schema:
|
|
|
|
+ type: dict
|
|
|
|
+ show_if: [["aclEnable", "=", true]]
|
|
|
|
+ attrs: []
|
|
|
|
+ $ref:
|
|
|
|
+ - "normalize/acl"
|
|
|
|
+ - variable: hostPath
|
|
|
|
+ label: Host Path
|
|
|
|
+ description: The host path to use for storage.
|
|
|
|
+ schema:
|
|
|
|
+ type: hostpath
|
|
|
|
+ show_if: [["aclEnable", "=", false]]
|
|
|
|
+ required: true
|
|
- variable: pgBackup
|
|
- variable: pgBackup
|
|
label: Postgres Backup Storage
|
|
label: Postgres Backup Storage
|
|
description: The path to store Postgres backups.
|
|
description: The path to store Postgres backups.
|
|
@@ -302,32 +391,84 @@ questions:
|
|
attrs:
|
|
attrs:
|
|
- variable: type
|
|
- variable: type
|
|
label: Type
|
|
label: Type
|
|
|
|
+ description: |
|
|
|
|
+ ixVolume: Is dataset created automatically by the system.</br>
|
|
|
|
+ Host Path: Is a path that already exists on the system.
|
|
schema:
|
|
schema:
|
|
type: string
|
|
type: string
|
|
required: true
|
|
required: true
|
|
|
|
+ immutable: true
|
|
default: ixVolume
|
|
default: ixVolume
|
|
enum:
|
|
enum:
|
|
- value: hostPath
|
|
- value: hostPath
|
|
- description: Host Path
|
|
|
|
|
|
+ description: Host Path (Path that already exists on the system)
|
|
- value: ixVolume
|
|
- value: ixVolume
|
|
- description: ixVolume
|
|
|
|
- - variable: datasetName
|
|
|
|
- label: Dataset Name
|
|
|
|
|
|
+ description: ixVolume (Dataset created automatically by the system)
|
|
|
|
+ - variable: ixVolumeConfig
|
|
|
|
+ label: ixVolume Configuration
|
|
|
|
+ description: The configuration for the ixVolume dataset.
|
|
schema:
|
|
schema:
|
|
- type: string
|
|
|
|
- show_if: [["type", "=", "ixVolume"]]
|
|
|
|
- required: true
|
|
|
|
|
|
+ type: dict
|
|
|
|
+ # Nothing to show for the user
|
|
hidden: true
|
|
hidden: true
|
|
- immutable: true
|
|
|
|
- default: postgres-backup
|
|
|
|
|
|
+ show_if: [["type", "=", "ixVolume"]]
|
|
$ref:
|
|
$ref:
|
|
- "normalize/ixVolume"
|
|
- "normalize/ixVolume"
|
|
- - variable: hostPath
|
|
|
|
- label: Host Path
|
|
|
|
|
|
+ attrs:
|
|
|
|
+ - variable: aclEnable
|
|
|
|
+ label: Enable ACL
|
|
|
|
+ description: Enable ACL for the dataset.
|
|
|
|
+ schema:
|
|
|
|
+ type: boolean
|
|
|
|
+ # Postgres does a CHMOD at startup
|
|
|
|
+ # Which fails with ACL
|
|
|
|
+ hidden: true
|
|
|
|
+ default: false
|
|
|
|
+ - variable: datasetName
|
|
|
|
+ label: Dataset Name
|
|
|
|
+ description: The name of the dataset to use for storage.
|
|
|
|
+ schema:
|
|
|
|
+ type: string
|
|
|
|
+ required: true
|
|
|
|
+ immutable: true
|
|
|
|
+ hidden: true
|
|
|
|
+ default: "postgres-backup"
|
|
|
|
+ - variable: aclEntries
|
|
|
|
+ label: ACL Configuration
|
|
|
|
+ schema:
|
|
|
|
+ type: dict
|
|
|
|
+ show_if: [["aclEnable", "=", true]]
|
|
|
|
+ attrs: []
|
|
|
|
+ - variable: hostPathConfig
|
|
|
|
+ label: Host Path Configuration
|
|
schema:
|
|
schema:
|
|
- type: hostpath
|
|
|
|
|
|
+ type: dict
|
|
show_if: [["type", "=", "hostPath"]]
|
|
show_if: [["type", "=", "hostPath"]]
|
|
- required: true
|
|
|
|
|
|
+ attrs:
|
|
|
|
+ - variable: aclEnable
|
|
|
|
+ label: Enable ACL
|
|
|
|
+ description: Enable ACL for the dataset.
|
|
|
|
+ schema:
|
|
|
|
+ type: boolean
|
|
|
|
+ # Postgres does a CHMOD at startup
|
|
|
|
+ # Which fails with ACL
|
|
|
|
+ hidden: true
|
|
|
|
+ default: false
|
|
|
|
+ - variable: acl
|
|
|
|
+ label: ACL Configuration
|
|
|
|
+ schema:
|
|
|
|
+ type: dict
|
|
|
|
+ show_if: [["aclEnable", "=", true]]
|
|
|
|
+ attrs: []
|
|
|
|
+ $ref:
|
|
|
|
+ - "normalize/acl"
|
|
|
|
+ - variable: hostPath
|
|
|
|
+ label: Host Path
|
|
|
|
+ description: The host path to use for storage.
|
|
|
|
+ schema:
|
|
|
|
+ type: hostpath
|
|
|
|
+ show_if: [["aclEnable", "=", false]]
|
|
|
|
+ required: true
|
|
|
|
|
|
- variable: resources
|
|
- variable: resources
|
|
label: ""
|
|
label: ""
|