2022-06-05 10:59:11 -04:00
|
|
|
- variable: type
|
2022-08-08 17:25:02 -04:00
|
|
|
label: Type of Storage
|
|
|
|
description: Sets the persistence type, Anything other than PVC could break rollback!
|
2022-06-05 10:59:11 -04:00
|
|
|
schema:
|
|
|
|
type: string
|
2022-11-10 10:46:44 -05:00
|
|
|
default: pvc
|
2022-06-05 10:59:11 -04:00
|
|
|
enum:
|
2022-08-08 17:25:02 -04:00
|
|
|
- value: pvc
|
|
|
|
description: PVC
|
|
|
|
- value: hostPath
|
|
|
|
description: Host Path
|
2022-11-10 10:46:44 -05:00
|
|
|
- value: emptyDir
|
|
|
|
description: emptyDir
|
2022-08-08 17:25:02 -04:00
|
|
|
- value: nfs
|
|
|
|
description: NFS Share
|
2022-06-05 10:59:11 -04:00
|
|
|
- variable: server
|
2022-08-08 17:25:02 -04:00
|
|
|
label: NFS Server
|
2022-06-05 10:59:11 -04:00
|
|
|
schema:
|
|
|
|
show_if: [["type", "=", "nfs"]]
|
|
|
|
type: string
|
|
|
|
default: ""
|
|
|
|
- variable: path
|
2022-08-08 17:25:02 -04:00
|
|
|
label: Path on NFS Server
|
2022-06-05 10:59:11 -04:00
|
|
|
schema:
|
|
|
|
show_if: [["type", "=", "nfs"]]
|
|
|
|
type: string
|
|
|
|
default: ""
|
2023-06-16 17:10:56 -04:00
|
|
|
- variable: autoPermissions
|
|
|
|
label: Automatic Permissions Configuration
|
|
|
|
description: Automatically set permissions
|
|
|
|
schema:
|
|
|
|
show_if: [["type", "!=", "pvc"]]
|
|
|
|
type: dict
|
|
|
|
additional_attrs: true
|
|
|
|
attrs:
|
2023-07-06 16:07:22 -04:00
|
|
|
- variable: enabled
|
|
|
|
label: enabled
|
2023-06-16 17:10:56 -04:00
|
|
|
schema:
|
|
|
|
type: boolean
|
|
|
|
default: false
|
2023-07-06 16:07:22 -04:00
|
|
|
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-11-06 14:23:24 -04:00
|
|
|
- variable: readOnly
|
2022-08-11 03:51:45 -04:00
|
|
|
label: Read Only
|
2021-11-06 14:23:24 -04:00
|
|
|
schema:
|
|
|
|
type: boolean
|
|
|
|
default: false
|
2022-06-05 10:59:11 -04:00
|
|
|
- variable: hostPath
|
2022-08-08 17:25:02 -04:00
|
|
|
label: Host Path
|
|
|
|
description: Path inside the container the storage is mounted
|
2022-06-05 10:59:11 -04:00
|
|
|
schema:
|
|
|
|
show_if: [["type", "=", "hostPath"]]
|
|
|
|
type: hostpath
|
|
|
|
- variable: medium
|
2022-08-08 17:25:02 -04:00
|
|
|
label: EmptyDir Medium
|
2022-06-05 10:59:11 -04:00
|
|
|
schema:
|
|
|
|
show_if: [["type", "=", "emptyDir"]]
|
|
|
|
type: string
|
|
|
|
default: ""
|
|
|
|
enum:
|
|
|
|
- value: ""
|
2022-08-08 17:25:02 -04:00
|
|
|
description: Default
|
|
|
|
- value: Memory
|
|
|
|
description: Memory
|
2022-11-10 10:46:44 -05:00
|
|
|
- variable: size
|
2022-11-11 07:54:11 -05:00
|
|
|
label: Size quotum of Storage (Do NOT REDUCE after installation)
|
|
|
|
description: This value can ONLY be INCREASED after the installation
|
2022-11-10 10:46:44 -05:00
|
|
|
schema:
|
|
|
|
show_if: [["type", "=", "pvc"]]
|
|
|
|
type: string
|
|
|
|
default: 256Gi
|