NAS-121368 (Minio)Add a default storage item and description on storage type (#1084)

* NAS-121368 Adds validation and a default storage item on MinIO

* add description on enum as well
This commit is contained in:
Stavros Kois
2023-04-06 19:11:11 +03:00
committed by GitHub
parent 81eb2dfd8b
commit d177992b91
2 changed files with 9 additions and 4 deletions

View File

@@ -3,7 +3,7 @@ description: High Performance, Kubernetes Native Object Storage
annotations:
title: MinIO
type: application
version: 1.0.1
version: 1.0.2
apiVersion: v2
appVersion: '2023-03-24'
kubeVersion: '>=1.16.0-0'

View File

@@ -166,7 +166,9 @@ questions:
group: Storage Configuration
schema:
type: list
default: []
default: [{"type": "ixVolume", "mountPath": "/data1", "datasetName": "data1"}]
empty: false
required: true
items:
- variable: item
label: Storage Item
@@ -175,6 +177,9 @@ questions:
attrs:
- variable: 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:
type: string
immutable: true
@@ -182,9 +187,9 @@ questions:
default: ixVolume
enum:
- value: hostPath
description: Host Path
description: Host Path (Path that already exists on the system)
- value: ixVolume
description: ixVolume
description: ixVolume (Dataset created automatically by the system)
- variable: mountPath
label: Mount Path
description: The path inside the container to mount the storage.