initial prototype of new storage GUI design
This commit is contained in:
@@ -3,7 +3,7 @@ appVersion: auto
|
|||||||
dependencies:
|
dependencies:
|
||||||
- name: common
|
- name: common
|
||||||
repository: https://truecharts.org/
|
repository: https://truecharts.org/
|
||||||
version: 5.1.3
|
version: 6.0.0
|
||||||
deprecated: false
|
deprecated: false
|
||||||
description: App to test GUI prototypes
|
description: App to test GUI prototypes
|
||||||
home: https://github.com/truecharts/apps/tree/master/charts/develop/prototype-gui
|
home: https://github.com/truecharts/apps/tree/master/charts/develop/prototype-gui
|
||||||
@@ -19,4 +19,4 @@ maintainers:
|
|||||||
name: prototype-gui
|
name: prototype-gui
|
||||||
sources: null
|
sources: null
|
||||||
type: application
|
type: application
|
||||||
version: 0.0.14
|
version: 1.0.0
|
||||||
|
|||||||
@@ -256,12 +256,39 @@ questions:
|
|||||||
schema:
|
schema:
|
||||||
type: boolean
|
type: boolean
|
||||||
default: true
|
default: true
|
||||||
|
- variable: type
|
||||||
|
label: "Storage Type"
|
||||||
|
description: "Sets the persistence type"
|
||||||
|
schema:
|
||||||
|
type: string
|
||||||
|
default: "pvc"
|
||||||
|
enum:
|
||||||
|
- value: "pvc"
|
||||||
|
description: "pvc"
|
||||||
|
- value: "emptyDir"
|
||||||
|
description: "emptyDir"
|
||||||
|
- value: "hostPath"
|
||||||
|
description: "hostPath"
|
||||||
- variable: storageClass
|
- variable: storageClass
|
||||||
label: "(Advanced) Type of Storage"
|
label: "(Advanced) Type of Storage"
|
||||||
description: " Warning: Anything other than SCALE-ZFS will break rollback!"
|
description: " Warning: Anything other than SCALE-ZFS will break rollback!"
|
||||||
schema:
|
schema:
|
||||||
|
show_if: [["type", "=", "pvc"]]
|
||||||
type: string
|
type: string
|
||||||
default: "SCALE-ZFS"
|
default: "SCALE-ZFS"
|
||||||
|
- variable: setPermissions
|
||||||
|
label: "Automatic Permissions"
|
||||||
|
description: "Automatically set permissions on install"
|
||||||
|
schema:
|
||||||
|
show_if: [["type", "=", "hostPath"]]
|
||||||
|
type: boolean
|
||||||
|
default: true
|
||||||
|
- variable: hostPath
|
||||||
|
label: "hostPath"
|
||||||
|
description: "Path inside the container the storage is mounted"
|
||||||
|
schema:
|
||||||
|
show_if: [["type", "=", "hostPath"]]
|
||||||
|
type: hostpath
|
||||||
- variable: mountPath
|
- variable: mountPath
|
||||||
label: "mountPath"
|
label: "mountPath"
|
||||||
description: "Path inside the container the storage is mounted"
|
description: "Path inside the container the storage is mounted"
|
||||||
@@ -269,21 +296,98 @@ questions:
|
|||||||
type: string
|
type: string
|
||||||
default: "/config"
|
default: "/config"
|
||||||
hidden: true
|
hidden: true
|
||||||
- variable: emptyDir
|
- variable: medium
|
||||||
label: "EmptyDir Volume"
|
label: "EmptyDir Medium"
|
||||||
|
schema:
|
||||||
|
show_if: [["type", "=", "emptyDir"]]
|
||||||
|
type: string
|
||||||
|
default: ""
|
||||||
|
enum:
|
||||||
|
- value: ""
|
||||||
|
description: "Default"
|
||||||
|
- value: "Memory"
|
||||||
|
description: "Memory"
|
||||||
|
- variable: accessMode
|
||||||
|
label: "Access Mode (Advanced)"
|
||||||
|
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: size
|
||||||
|
show_if: [["type", "=", "pvc"]]
|
||||||
|
label: "Size quotum of storage"
|
||||||
|
schema:
|
||||||
|
type: string
|
||||||
|
default: "100Gi"
|
||||||
|
- variable: persistenceList
|
||||||
|
label: "Custom app storage"
|
||||||
|
group: "Storage and Persistence"
|
||||||
|
schema:
|
||||||
|
type: list
|
||||||
|
default: []
|
||||||
|
items:
|
||||||
|
- variable: persistenceListEntry
|
||||||
|
label: "Custom Storage"
|
||||||
schema:
|
schema:
|
||||||
type: dict
|
type: dict
|
||||||
attrs:
|
attrs:
|
||||||
- variable: enabled
|
- variable: enabled
|
||||||
label: "(Advanced) Use emptyDir volume"
|
label: "Enable the storage"
|
||||||
schema:
|
schema:
|
||||||
type: boolean
|
type: boolean
|
||||||
default: false
|
default: true
|
||||||
show_subquestions_if: true
|
- variable: type
|
||||||
subquestions:
|
label: "Storage Type"
|
||||||
|
description: "Sets the persistence type"
|
||||||
|
schema:
|
||||||
|
type: string
|
||||||
|
default: "pvc"
|
||||||
|
enum:
|
||||||
|
- value: "pvc"
|
||||||
|
description: "pvc"
|
||||||
|
- value: "emptyDir"
|
||||||
|
description: "emptyDir"
|
||||||
|
- value: "hostPath"
|
||||||
|
description: "hostPath"
|
||||||
|
- variable: storageClass
|
||||||
|
label: "(Advanced) Type of Storage"
|
||||||
|
description: " Warning: Anything other than SCALE-ZFS will break rollback!"
|
||||||
|
schema:
|
||||||
|
show_if: [["type", "=", "pvc"]]
|
||||||
|
type: string
|
||||||
|
default: "SCALE-ZFS"
|
||||||
|
- variable: setPermissions
|
||||||
|
label: "Automatic Permissions"
|
||||||
|
description: "Automatically set permissions on install"
|
||||||
|
schema:
|
||||||
|
show_if: [["type", "=", "hostPath"]]
|
||||||
|
type: boolean
|
||||||
|
default: true
|
||||||
|
- variable: hostPath
|
||||||
|
label: "hostPath"
|
||||||
|
description: "Path inside the container the storage is mounted"
|
||||||
|
schema:
|
||||||
|
show_if: [["type", "=", "hostPath"]]
|
||||||
|
type: hostpath
|
||||||
|
- variable: mountPath
|
||||||
|
label: "mountPath"
|
||||||
|
description: "Path inside the container the storage is mounted"
|
||||||
|
schema:
|
||||||
|
type: string
|
||||||
|
default: "/config"
|
||||||
|
hidden: true
|
||||||
- variable: medium
|
- variable: medium
|
||||||
label: "EmptyDir Medium"
|
label: "EmptyDir Medium"
|
||||||
schema:
|
schema:
|
||||||
|
show_if: [["type", "=", "emptyDir"]]
|
||||||
type: string
|
type: string
|
||||||
default: ""
|
default: ""
|
||||||
enum:
|
enum:
|
||||||
@@ -295,6 +399,7 @@ questions:
|
|||||||
label: "Access Mode (Advanced)"
|
label: "Access Mode (Advanced)"
|
||||||
description: "Allow or disallow multiple PVC's writhing to the same PVC"
|
description: "Allow or disallow multiple PVC's writhing to the same PVC"
|
||||||
schema:
|
schema:
|
||||||
|
show_if: [["type", "=", "pvc"]]
|
||||||
type: string
|
type: string
|
||||||
default: "ReadWriteOnce"
|
default: "ReadWriteOnce"
|
||||||
enum:
|
enum:
|
||||||
@@ -305,74 +410,11 @@ questions:
|
|||||||
- value: "ReadWriteMany"
|
- value: "ReadWriteMany"
|
||||||
description: "ReadWriteMany"
|
description: "ReadWriteMany"
|
||||||
- variable: size
|
- variable: size
|
||||||
|
show_if: [["type", "=", "pvc"]]
|
||||||
label: "Size quotum of storage"
|
label: "Size quotum of storage"
|
||||||
schema:
|
schema:
|
||||||
type: string
|
type: string
|
||||||
default: "100Gi"
|
default: "100Gi"
|
||||||
- variable: hostPathMounts
|
|
||||||
label: "Custom app storage"
|
|
||||||
group: "Storage and Persistence"
|
|
||||||
schema:
|
|
||||||
type: list
|
|
||||||
default: []
|
|
||||||
items:
|
|
||||||
- variable: volumeMount
|
|
||||||
label: "Custom Storage"
|
|
||||||
schema:
|
|
||||||
type: dict
|
|
||||||
attrs:
|
|
||||||
- variable: enabled
|
|
||||||
label: "Enabled"
|
|
||||||
schema:
|
|
||||||
type: boolean
|
|
||||||
default: true
|
|
||||||
hidden: true
|
|
||||||
- variable: setPermissions
|
|
||||||
label: "Automatic Permissions"
|
|
||||||
description: "Automatically set permissions on install"
|
|
||||||
schema:
|
|
||||||
type: boolean
|
|
||||||
default: true
|
|
||||||
- variable: readOnly
|
|
||||||
label: "Mount as ReadOnly"
|
|
||||||
description: "prevent any write from being done to the mounted volume"
|
|
||||||
schema:
|
|
||||||
type: boolean
|
|
||||||
default: false
|
|
||||||
- variable: emptyDir
|
|
||||||
label: "EmptyDir Volume"
|
|
||||||
schema:
|
|
||||||
type: dict
|
|
||||||
attrs:
|
|
||||||
- variable: enabled
|
|
||||||
label: "(Advanced) Use emptyDir volume"
|
|
||||||
schema:
|
|
||||||
type: boolean
|
|
||||||
default: false
|
|
||||||
- variable: medium
|
|
||||||
label: "EmptyDir Medium"
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
default: ""
|
|
||||||
enum:
|
|
||||||
- value: ""
|
|
||||||
description: "Default"
|
|
||||||
- value: "Memory"
|
|
||||||
description: "Memory"
|
|
||||||
- variable: mountPath
|
|
||||||
label: "Mount Path"
|
|
||||||
description: "Path to mount inside the pod"
|
|
||||||
schema:
|
|
||||||
type: path
|
|
||||||
required: true
|
|
||||||
default: ""
|
|
||||||
editable: true
|
|
||||||
- variable: hostPath
|
|
||||||
label: "Host Path"
|
|
||||||
description: "Path on the host to mount inside the container, ignored when emptyDir is enabled"
|
|
||||||
schema:
|
|
||||||
type: hostpath
|
|
||||||
required: true
|
|
||||||
|
|
||||||
- variable: ingress
|
- variable: ingress
|
||||||
label: ""
|
label: ""
|
||||||
|
|||||||
Reference in New Issue
Block a user