Skip to content

Commit

Permalink
update ui
Browse files Browse the repository at this point in the history
  • Loading branch information
stavros-k committed May 2, 2024
1 parent 4c4e8ea commit 4a38f8c
Showing 1 changed file with 63 additions and 40 deletions.
103 changes: 63 additions & 40 deletions ix-dev/enterprise/minio/questions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -183,41 +183,55 @@ questions:
schema:
type: hostpath
required: true
# TODO: Add ix_volume config
# - variable: ix_volume_config
# label: iX Volume Configuration
# schema:
# type: dict
# attrs:
- variable: ix_volume_config
label: iX Volume Configuration
schema:
type: dict
show_if: [["type", "=", "ix_volume"]]
attrs:
- variable: dataset_name
label: Dataset Name
schema:
type: string
required: true
hidden: true
immutable: true
default: "postgres-data"
$ref:
- "normalize/ixVolume"

# - variable: enableMultiMode
# label: Enable Multi Mode (SNMD or MNMD)
# group: MultiMode Configuration
# description: |
# For Single Node Multi Drive (SNMD), the entry will look like this:</br>
# Example Entry - /data{1...4}</br></br>
# For Multi Node Multi Drive (MNMD), the entry will look like this:</br>
# Example Entry - https://minio{1...3}.example.com:30000/data{1...4}</br></br>
# Note that each host must use the same port number and the same number of storage items.</br>
# In both cases /data{1...4} is the directories to be used for MinIO.
# You have to add additional storage for each data entry.
# schema:
# type: boolean
# default: false
# show_subquestions_if: true
# subquestions:
# - variable: minioMultiMode
# label: Multi Mode (SNMD or MNMD)
# group: MultiMode Configuration
# schema:
# type: list
# default: []
# items:
# - variable: item
# label: ""
# schema:
# type: string
# required: true
- variable: multi_mode
label: Multi Mode (SNMD or MNMD) Configuration
group: MultiMode Configuration
description: |
For Single Node Multi Drive (SNMD), the entry will look like this:</br>
Example Entry - /data{1...4}</br></br>
For Multi Node Multi Drive (MNMD), the entry will look like this:</br>
Example Entry - https://minio{1...3}.example.com:30000/data{1...4}</br></br>
Note that each host must use the same port number and the same number of storage items.</br>
In both cases /data{1...4} is the directories to be used for MinIO.
You have to add additional storage for each data entry.
schema:
type: dict
attrs:
- variable: enabled
label: Enabled
description: Enable Multi Mode
schema:
type: boolean
default: false
- variable: items
label: Multi Mode (SNMD or MNMD) Entries
schema:
type: list
show_if: [["enabled", "=", true]]
default: []
items:
- variable: item
label: ""
schema:
type: string
required: true

- variable: storage
label: ""
Expand Down Expand Up @@ -275,12 +289,21 @@ questions:
schema:
type: hostpath
required: true
# TODO: Add ix_volume config
# - variable: ix_volume_config
# label: iX Volume Configuration
# schema:
# type: dict
# attrs:
- variable: ix_volume_config
label: iX Volume Configuration
schema:
type: dict
show_if: [["type", "=", "ix_volume"]]
attrs:
- variable: dataset_name
label: Dataset Name
schema:
type: string
required: true
immutable: true
default: "data1"
$ref:
- "normalize/ixVolume"

- variable: resources
label: ""
Expand Down

0 comments on commit 4a38f8c

Please sign in to comment.