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-12-05 14:35:33 +00:00
|
|
|
- variable: iscsi
|
|
|
|
label: iSCSI Options
|
|
|
|
schema:
|
|
|
|
show_if: [["type", "=", "iscsi"]]
|
|
|
|
type: dict
|
|
|
|
additional_attrs: true
|
|
|
|
attrs:
|
|
|
|
- variable: targetPortal
|
|
|
|
label: targetPortal
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
required: true
|
|
|
|
default: ""
|
|
|
|
- variable: iqn
|
|
|
|
label: iqn
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
required: true
|
|
|
|
default: ""
|
|
|
|
- variable: lun
|
|
|
|
label: lun
|
|
|
|
schema:
|
|
|
|
type: int
|
|
|
|
default: 0
|
|
|
|
- variable: authSession
|
|
|
|
label: authSession
|
|
|
|
schema:
|
|
|
|
type: dict
|
|
|
|
additional_attrs: true
|
|
|
|
attrs:
|
|
|
|
- variable: username
|
|
|
|
label: username
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
default: ""
|
|
|
|
- variable: password
|
|
|
|
label: password
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
default: ""
|
|
|
|
- variable: usernameInitiator
|
|
|
|
label: usernameInitiator
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
default: ""
|
|
|
|
- variable: passwordInitiator
|
|
|
|
label: passwordInitiator
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
default: ""
|
|
|
|
- variable: authDiscovery
|
|
|
|
label: authDiscovery
|
|
|
|
schema:
|
|
|
|
type: dict
|
|
|
|
additional_attrs: true
|
|
|
|
attrs:
|
|
|
|
- variable: username
|
|
|
|
label: username
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
default: ""
|
|
|
|
- variable: password
|
|
|
|
label: password
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
default: ""
|
|
|
|
- variable: usernameInitiator
|
|
|
|
label: usernameInitiator
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
default: ""
|
|
|
|
- variable: passwordInitiator
|
|
|
|
label: passwordInitiator
|
|
|
|
schema:
|
|
|
|
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
|
2023-11-12 23:11:14 +00:00
|
|
|
- variable: storageClass
|
2023-11-12 23:30:18 +00:00
|
|
|
label: 'storageClass (Advanced)'
|
|
|
|
description: 'sets the storageClass to something other than iX default. Only for advanced usecases!'
|
2023-11-12 23:11:14 +00:00
|
|
|
schema:
|
|
|
|
show_if: [["type", "=", "pvc"]]
|
|
|
|
type: string
|
|
|
|
default: ""
|
|
|
|
- variable: static
|
2023-11-12 23:30:18 +00:00
|
|
|
label: 'Static Fixed PVC Bindings (Experimental)'
|
2023-11-12 23:11:14 +00:00
|
|
|
description: Link a PVC to a specific storage location
|
|
|
|
schema:
|
|
|
|
show_if: [["type", "=", "pvc"]]
|
|
|
|
type: dict
|
|
|
|
additional_attrs: true
|
|
|
|
attrs:
|
|
|
|
- variable: mode
|
|
|
|
label: mode
|
|
|
|
description: |
|
|
|
|
disabled: use normal dynamic PVCs
|
|
|
|
smb: connect to an SMB share
|
|
|
|
nfs: connect to an NFS share
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
default: "disabled"
|
|
|
|
enum:
|
|
|
|
- value: "disabled"
|
|
|
|
description: disabled
|
|
|
|
- value: smb
|
|
|
|
description: smb
|
2023-11-13 21:04:39 +00:00
|
|
|
- value: nfs
|
2023-11-13 20:21:53 +00:00
|
|
|
description: nfs
|
2023-11-12 23:11:14 +00:00
|
|
|
- variable: server
|
|
|
|
label: Server
|
|
|
|
description: server to connect to
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
show_if: [["mode", "!=", "disabled"]]
|
|
|
|
default: "myserver"
|
|
|
|
- variable: share
|
|
|
|
label: Share
|
|
|
|
description: share to connect to
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
show_if: [["mode", "!=", "disabled"]]
|
|
|
|
default: "/myshare"
|
|
|
|
- variable: user
|
|
|
|
label: User
|
|
|
|
description: connecting user
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
show_if: [["mode", "=", "smb"]]
|
|
|
|
default: "myuser"
|
|
|
|
- variable: domain
|
|
|
|
label: Domain
|
|
|
|
description: user domain
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
show_if: [["mode", "=", "smb"]]
|
|
|
|
default: ""
|
|
|
|
- variable: password
|
|
|
|
label: Password
|
|
|
|
description: connecting password
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
show_if: [["mode", "=", "smb"]]
|
|
|
|
default: ""
|
2023-11-12 23:09:28 +00:00
|
|
|
- variable: volumeSnapshots
|
2023-11-12 23:30:18 +00:00
|
|
|
label: 'Volume Snapshots (Experimental)'
|
2023-11-12 23:09:28 +00:00
|
|
|
description: Add an entry to the list to force creation of a volumeSnapshot of this PVC
|
|
|
|
schema:
|
|
|
|
show_if: [["type", "=", "pvc"]]
|
|
|
|
type: list
|
|
|
|
default: []
|
|
|
|
items:
|
|
|
|
- variable: volumeSnapshotEntry
|
|
|
|
label: Custom volumeSnapshot
|
|
|
|
schema:
|
|
|
|
additional_attrs: true
|
|
|
|
type: dict
|
|
|
|
attrs:
|
|
|
|
- variable: name
|
|
|
|
label: Name
|
2023-11-12 23:30:18 +00:00
|
|
|
description: 'WARNING: renaming this, means deletion of the snapshot with the old name!'
|
2023-11-12 23:09:28 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
default: "mysnapshot"
|
|
|
|
required: true
|
|
|
|
- variable: volumeSnapshotClassName
|
2023-11-12 23:30:18 +00:00
|
|
|
label: 'volumeSnapshot Class Name (Advanced)'
|
2023-11-12 23:09:28 +00:00
|
|
|
description: For use with PVCs using a non-default storageClass
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
default: ""
|