This commit is contained in:
Stavros kois
2024-06-21 22:01:15 +03:00
parent f9baa43284
commit efb2c2b627

View File

@@ -175,12 +175,12 @@ questions:
$ref:
- "normalize/ixVolume"
attrs:
# - variable: aclEnable # TODO: update this once we have new refs from middleware
# label: Enable ACL
# description: Enable ACL for the dataset.
# schema:
# type: boolean
# default: false
- variable: aclEnable
label: Enable ACL
description: Enable ACL for the storage.
schema:
type: boolean
default: false
- variable: dataset_name
label: Dataset Name
description: The name of the dataset to use for storage.
@@ -190,38 +190,38 @@ questions:
immutable: true
hidden: true
default: "data"
# - variable: aclEntries
# label: ACL Configuration
# schema:
# type: dict
# show_if: [["aclEnable", "=", true]]
# attrs: []
- variable: aclEntries
label: ACL Configuration
schema:
type: dict
show_if: [["aclEnable", "=", true]]
attrs: []
- variable: host_path_config
label: Host Path Configuration
schema:
type: dict
show_if: [["type", "=", "host_path"]]
attrs:
# - variable: aclEnable
# label: Enable ACL
# description: Enable ACL for the dataset.
# schema:
# type: boolean
# default: false
# - variable: acl
# label: ACL Configuration
# schema:
# type: dict
# show_if: [["aclEnable", "=", true]]
# attrs: []
# $ref:
# - "normalize/acl"
- variable: aclEnable
label: Enable ACL
description: Enable ACL for the storage.
schema:
type: boolean
default: false
- variable: acl
label: ACL Configuration
schema:
type: dict
show_if: [["aclEnable", "=", true]]
attrs: []
$ref:
- "normalize/acl"
- variable: host_path
label: Host Path
description: The host path to use for storage.
schema:
type: hostpath
# show_if: [["aclEnable", "=", false]]
show_if: [["aclEnable", "=", false]]
required: true
- variable: config
label: Plex Configuration Storage
@@ -253,12 +253,12 @@ questions:
$ref:
- "normalize/ixVolume"
attrs:
# - variable: aclEnable
# label: Enable ACL
# description: Enable ACL for the dataset.
# schema:
# type: boolean
# default: false
- variable: aclEnable
label: Enable ACL
description: Enable ACL for the storage.
schema:
type: boolean
default: false
- variable: dataset_name
label: Dataset Name
description: The name of the dataset to use for storage.
@@ -268,38 +268,38 @@ questions:
immutable: true
hidden: true
default: "config"
# - variable: aclEntries
# label: ACL Configuration
# schema:
# type: dict
# show_if: [["aclEnable", "=", true]]
# attrs: []
- variable: aclEntries
label: ACL Configuration
schema:
type: dict
show_if: [["aclEnable", "=", true]]
attrs: []
- variable: host_path_config
label: Host Path Configuration
schema:
type: dict
show_if: [["type", "=", "host_path"]]
attrs:
# - variable: aclEnable
# label: Enable ACL
# description: Enable ACL for the dataset.
# schema:
# type: boolean
# default: false
# - variable: acl
# label: ACL Configuration
# schema:
# type: dict
# show_if: [["aclEnable", "=", true]]
# attrs: []
# $ref:
# - "normalize/acl"
- variable: aclEnable
label: Enable ACL
description: Enable ACL for the storage.
schema:
type: boolean
default: false
- variable: acl
label: ACL Configuration
schema:
type: dict
show_if: [["aclEnable", "=", true]]
attrs: []
$ref:
- "normalize/acl"
- variable: host_path
label: Host Path
description: The host path to use for storage.
schema:
type: hostpath
# show_if: [["aclEnable", "=", false]]
show_if: [["aclEnable", "=", false]]
required: true
- variable: logs
label: Plex Logs Storage
@@ -316,7 +316,6 @@ questions:
schema:
type: string
required: true
immutable: true
default: "anonymous"
enum:
- value: "host_path"
@@ -334,12 +333,12 @@ questions:
$ref:
- "normalize/ixVolume"
attrs:
# - variable: aclEnable
# label: Enable ACL
# description: Enable ACL for the dataset.
# schema:
# type: boolean
# default: false
- variable: aclEnable
label: Enable ACL
description: Enable ACL for the storage.
schema:
type: boolean
default: false
- variable: dataset_name
label: Dataset Name
description: The name of the dataset to use for storage.
@@ -348,39 +347,39 @@ questions:
required: true
immutable: true
hidden: true
default: "config"
# - variable: aclEntries
# label: ACL Configuration
# schema:
# type: dict
# show_if: [["aclEnable", "=", true]]
# attrs: []
default: "logs"
- variable: aclEntries
label: ACL Configuration
schema:
type: dict
show_if: [["aclEnable", "=", true]]
attrs: []
- variable: host_path_config
label: Host Path Configuration
schema:
type: dict
show_if: [["type", "=", "host_path"]]
attrs:
# - variable: aclEnable
# label: Enable ACL
# description: Enable ACL for the dataset.
# schema:
# type: boolean
# default: false
# - variable: acl
# label: ACL Configuration
# schema:
# type: dict
# show_if: [["aclEnable", "=", true]]
# attrs: []
# $ref:
# - "normalize/acl"
- variable: aclEnable
label: Enable ACL
description: Enable ACL for the storage.
schema:
type: boolean
default: false
- variable: acl
label: ACL Configuration
schema:
type: dict
show_if: [["aclEnable", "=", true]]
attrs: []
$ref:
- "normalize/acl"
- variable: host_path
label: Host Path
description: The host path to use for storage.
schema:
type: hostpath
# show_if: [["aclEnable", "=", false]]
show_if: [["aclEnable", "=", false]]
required: true
- variable: transcode
label: Plex Transcode Storage
@@ -398,7 +397,6 @@ questions:
schema:
type: string
required: true
immutable: true
default: "anonymous"
enum:
- value: "host_path"
@@ -434,12 +432,12 @@ questions:
$ref:
- "normalize/ixVolume"
attrs:
# - variable: aclEnable
# label: Enable ACL
# description: Enable ACL for the dataset.
# schema:
# type: boolean
# default: false
- variable: aclEnable
label: Enable ACL
description: Enable ACL for the storage.
schema:
type: boolean
default: false
- variable: dataset_name
label: Dataset Name
description: The name of the dataset to use for storage.
@@ -448,39 +446,39 @@ questions:
required: true
immutable: true
hidden: true
default: "config"
# - variable: aclEntries
# label: ACL Configuration
# schema:
# type: dict
# show_if: [["aclEnable", "=", true]]
# attrs: []
default: "transcode"
- variable: aclEntries
label: ACL Configuration
schema:
type: dict
show_if: [["aclEnable", "=", true]]
attrs: []
- variable: host_path_config
label: Host Path Configuration
schema:
type: dict
show_if: [["type", "=", "host_path"]]
attrs:
# - variable: aclEnable
# label: Enable ACL
# description: Enable ACL for the dataset.
# schema:
# type: boolean
# default: false
# - variable: acl
# label: ACL Configuration
# schema:
# type: dict
# show_if: [["aclEnable", "=", true]]
# attrs: []
# $ref:
# - "normalize/acl"
- variable: aclEnable
label: Enable ACL
description: Enable ACL for the storage.
schema:
type: boolean
default: false
- variable: acl
label: ACL Configuration
schema:
type: dict
show_if: [["aclEnable", "=", true]]
attrs: []
$ref:
- "normalize/acl"
- variable: host_path
label: Host Path
description: The host path to use for storage.
schema:
type: hostpath
# show_if: [["aclEnable", "=", false]]
show_if: [["aclEnable", "=", false]]
required: true
- variable: additional_storage
label: Additional Storage
@@ -552,26 +550,26 @@ questions:
type: dict
show_if: [["type", "=", "host_path"]]
attrs:
# - variable: aclEnable
# label: Enable ACL
# description: Enable ACL for the dataset.
# schema:
# type: boolean
# default: false
# - variable: acl
# label: ACL Configuration
# schema:
# type: dict
# show_if: [["aclEnable", "=", true]]
# attrs: []
# $ref:
# - "normalize/acl"
- variable: aclEnable
label: Enable ACL
description: Enable ACL for the storage.
schema:
type: boolean
default: false
- variable: acl
label: ACL Configuration
schema:
type: dict
show_if: [["aclEnable", "=", true]]
attrs: []
$ref:
- "normalize/acl"
- variable: host_path
label: Host Path
description: The host path to use for storage.
schema:
type: hostpath
# show_if: [["aclEnable", "=", false]]
show_if: [["aclEnable", "=", false]]
required: true
- variable: ix_volume_config
label: ixVolume Configuration
@@ -582,12 +580,12 @@ questions:
$ref:
- "normalize/ixVolume"
attrs:
# - variable: aclEnable
# label: Enable ACL
# description: Enable ACL for the dataset.
# schema:
# type: boolean
# default: false
- variable: aclEnable
label: Enable ACL
description: Enable ACL for the storage.
schema:
type: boolean
default: false
- variable: dataset_name
label: Dataset Name
description: The name of the dataset to use for storage.
@@ -596,12 +594,14 @@ questions:
required: true
immutable: true
default: "storage_entry"
# - variable: aclEntries
# label: ACL Configuration
# schema:
# type: dict
# show_if: [["aclEnable", "=", true]]
# attrs: []
- variable: aclEntries
label: ACL Configuration
schema:
type: dict
show_if: [["aclEnable", "=", true]]
attrs: []
$ref:
- "normalize/acl"
- variable: smb_config
label: SMB Configuration
description: The configuration for the SMB dataset.