2021-09-13 09:12:18 +00:00
|
|
|
- variable: persistenceList
|
2022-08-08 21:25:02 +00:00
|
|
|
label: Additional App Storage
|
|
|
|
group: Storage and Persistence
|
2021-09-13 09:12:18 +00:00
|
|
|
schema:
|
|
|
|
type: list
|
|
|
|
default: []
|
|
|
|
items:
|
|
|
|
- variable: persistenceListEntry
|
2022-08-08 21:25:02 +00:00
|
|
|
label: Custom Storage
|
2021-09-13 09:12:18 +00:00
|
|
|
schema:
|
2022-01-21 00:35:59 +00:00
|
|
|
additional_attrs: true
|
2021-09-13 09:12:18 +00:00
|
|
|
type: dict
|
|
|
|
attrs:
|
|
|
|
- variable: enabled
|
2022-08-08 21:25:02 +00:00
|
|
|
label: Enable the storage
|
2021-09-13 09:12:18 +00:00
|
|
|
schema:
|
|
|
|
type: boolean
|
|
|
|
default: true
|
|
|
|
hidden: true
|
|
|
|
- variable: type
|
2022-08-08 21:25:02 +00:00
|
|
|
label: Type of Storage
|
|
|
|
description: Sets the persistence type, Anything other than PVC could break rollback!
|
2021-09-13 09:12:18 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
2022-11-10 15:46:44 +00:00
|
|
|
default: hostPath
|
2021-09-13 09:12:18 +00:00
|
|
|
enum:
|
2022-08-08 21:25:02 +00:00
|
|
|
- value: pvc
|
|
|
|
description: PVC
|
|
|
|
- value: hostPath
|
|
|
|
description: Host Path
|
2022-11-10 15:46:44 +00:00
|
|
|
- value: emptyDir
|
|
|
|
description: emptyDir
|
2022-08-08 21:25:02 +00:00
|
|
|
- value: nfs
|
|
|
|
description: NFS Share
|
2022-06-05 14:59:11 +00:00
|
|
|
- variable: server
|
2022-08-08 21:25:02 +00:00
|
|
|
label: NFS Server
|
2022-06-05 14:59:11 +00:00
|
|
|
schema:
|
|
|
|
show_if: [["type", "=", "nfs"]]
|
|
|
|
type: string
|
|
|
|
default: ""
|
|
|
|
- variable: path
|
2022-08-08 21:25:02 +00:00
|
|
|
label: Path on NFS Server
|
2022-06-05 14:59:11 +00:00
|
|
|
schema:
|
|
|
|
show_if: [["type", "=", "nfs"]]
|
|
|
|
type: string
|
|
|
|
default: ""
|
2023-07-06 20:07:22 +00:00
|
|
|
- variable: autoPermissions
|
|
|
|
label: Automatic Permissions Configuration
|
|
|
|
description: Automatically set permissions
|
2021-09-13 09:12:18 +00:00
|
|
|
schema:
|
2023-07-06 20:07:22 +00:00
|
|
|
show_if: [["type", "!=", "pvc"]]
|
|
|
|
type: dict
|
|
|
|
additional_attrs: true
|
|
|
|
attrs:
|
|
|
|
- variable: enabled
|
|
|
|
label: enabled
|
|
|
|
schema:
|
|
|
|
type: boolean
|
|
|
|
default: false
|
|
|
|
show_subquestions_if: true
|
|
|
|
subquestions:
|
|
|
|
- variable: chown
|
|
|
|
label: Run CHOWN
|
|
|
|
description: |
|
|
|
|
It will run CHOWN on the path with the given fsGroup
|
|
|
|
schema:
|
|
|
|
type: boolean
|
|
|
|
default: false
|
|
|
|
- variable: chmod
|
|
|
|
label: Run CHMOD
|
|
|
|
description: |
|
|
|
|
It will run CHMOD on the path with the given value</br>
|
|
|
|
Format should be 3 digits, e.g. 770
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
valid_chars: '[0-9]{3}'
|
|
|
|
default: ""
|
|
|
|
- variable: recursive
|
|
|
|
label: Recursive
|
|
|
|
description: |
|
|
|
|
It will run CHOWN and CHMOD recursively
|
|
|
|
schema:
|
|
|
|
type: boolean
|
|
|
|
default: false
|
2021-09-13 09:12:18 +00:00
|
|
|
- variable: readOnly
|
2022-08-08 21:25:02 +00:00
|
|
|
label: Read Only
|
2021-09-13 09:12:18 +00:00
|
|
|
schema:
|
|
|
|
type: boolean
|
|
|
|
default: false
|
|
|
|
- variable: hostPath
|
2022-08-08 21:25:02 +00:00
|
|
|
label: Host Path
|
|
|
|
description: Path inside the container the storage is mounted
|
2021-09-13 09:12:18 +00:00
|
|
|
schema:
|
2021-11-06 17:56:41 +00:00
|
|
|
show_if: [["type", "=", "hostPath"]]
|
2021-09-13 09:12:18 +00:00
|
|
|
type: hostpath
|
2021-11-06 15:38:54 +00:00
|
|
|
- variable: mountPath
|
2022-08-08 21:25:02 +00:00
|
|
|
label: Mount Path
|
|
|
|
description: Path inside the container the storage is mounted
|
2021-11-06 15:38:54 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
default: ""
|
|
|
|
required: true
|
2021-11-10 21:14:55 +00:00
|
|
|
valid_chars: '^\/([a-zA-Z0-9._-]+(\s?[a-zA-Z0-9._-]+|\/?))+$'
|
2021-11-06 15:38:54 +00:00
|
|
|
- variable: medium
|
2022-08-08 21:25:02 +00:00
|
|
|
label: EmptyDir Medium
|
2021-11-06 15:38:54 +00:00
|
|
|
schema:
|
|
|
|
show_if: [["type", "=", "emptyDir"]]
|
|
|
|
type: string
|
|
|
|
default: ""
|
|
|
|
enum:
|
|
|
|
- value: ""
|
2022-08-08 21:25:02 +00:00
|
|
|
description: Default
|
|
|
|
- value: Memory
|
|
|
|
description: Memory
|
2021-11-06 15:38:54 +00:00
|
|
|
- variable: size
|
2022-08-08 21:25:02 +00:00
|
|
|
label: Size Quotum of Storage
|
2021-11-06 15:38:54 +00:00
|
|
|
schema:
|
2021-11-06 17:56:41 +00:00
|
|
|
show_if: [["type", "=", "pvc"]]
|
2021-11-06 15:38:54 +00:00
|
|
|
type: string
|
2022-09-30 17:22:42 +00:00
|
|
|
default: 256Gi
|