|
@@ -0,0 +1,224 @@
|
|
|
+groups:
|
|
|
+ - name: "Configuration"
|
|
|
+ description: "Qbittorent application configuration"
|
|
|
+ - name: "Storage"
|
|
|
+ description: "Configure storage for qbittorent"
|
|
|
+ - name: "Networking"
|
|
|
+ description: "Networking Configuration for qbittorent"
|
|
|
+ - name: "Advanced DNS Settings"
|
|
|
+ description: "Configure DNS settings"
|
|
|
+
|
|
|
+portals:
|
|
|
+ web_portal:
|
|
|
+ protocols:
|
|
|
+ - "http"
|
|
|
+ host:
|
|
|
+ - "$node_ip"
|
|
|
+ ports:
|
|
|
+ - "$variable-web_port"
|
|
|
+ path: "/"
|
|
|
+
|
|
|
+questions:
|
|
|
+ - variable: web_port
|
|
|
+ label: "Web Port for qbittorent"
|
|
|
+ group: Networking
|
|
|
+ schema:
|
|
|
+ type: int
|
|
|
+ min: 8000
|
|
|
+ max: 65535
|
|
|
+ default: 20909
|
|
|
+ required: true
|
|
|
+ - variable: tcp_port
|
|
|
+ label: "TCP Port for qbittorent"
|
|
|
+ group: Networking
|
|
|
+ schema:
|
|
|
+ type: int
|
|
|
+ min: 8000
|
|
|
+ max: 65535
|
|
|
+ default: 20988
|
|
|
+ required: true
|
|
|
+ - variable: udp_port
|
|
|
+ label: "UDP Port for qbittorent"
|
|
|
+ group: Networking
|
|
|
+ schema:
|
|
|
+ type: int
|
|
|
+ min: 8000
|
|
|
+ max: 65535
|
|
|
+ default: 20989
|
|
|
+ required: true
|
|
|
+
|
|
|
+ - variable: dnsConfig
|
|
|
+ label: "DNS Configuration"
|
|
|
+ group: "Advanced DNS Settings"
|
|
|
+ schema:
|
|
|
+ type: dict
|
|
|
+ attrs:
|
|
|
+ - variable: options
|
|
|
+ label: "DNS Options"
|
|
|
+ schema:
|
|
|
+ type: list
|
|
|
+ items:
|
|
|
+ - variable: optionsEntry
|
|
|
+ label: "Option Entry Configuration"
|
|
|
+ schema:
|
|
|
+ type: dict
|
|
|
+ attrs:
|
|
|
+ - variable: name
|
|
|
+ label: "Option Name"
|
|
|
+ schema:
|
|
|
+ type: string
|
|
|
+ required: true
|
|
|
+ - variable: value
|
|
|
+ label: "Option Value"
|
|
|
+ schema:
|
|
|
+ type: string
|
|
|
+ required: true
|
|
|
+
|
|
|
+ - variable: ownerUID
|
|
|
+ label: "Owner User ID"
|
|
|
+ group: Configuration
|
|
|
+ schema:
|
|
|
+ type: int
|
|
|
+ default: 568
|
|
|
+ min: 1
|
|
|
+ max: 65535
|
|
|
+
|
|
|
+ - variable: ownerGID
|
|
|
+ label: "Owner Group ID"
|
|
|
+ group: Configuration
|
|
|
+ schema:
|
|
|
+ type: int
|
|
|
+ default: 568
|
|
|
+ min: 1
|
|
|
+ max: 65535
|
|
|
+
|
|
|
+ - variable: timezone
|
|
|
+ label: "Timezone"
|
|
|
+ group: "Configuration"
|
|
|
+ schema:
|
|
|
+ type: string
|
|
|
+ $ref:
|
|
|
+ - "definitions/timezone"
|
|
|
+
|
|
|
+ - variable: environmentVariables
|
|
|
+ label: "Qbittorent environment"
|
|
|
+ group: "Configuration"
|
|
|
+ schema:
|
|
|
+ type: list
|
|
|
+ default: [ ]
|
|
|
+ items:
|
|
|
+ - variable: environmentVariable
|
|
|
+ label: "Environment Variable"
|
|
|
+ schema:
|
|
|
+ type: dict
|
|
|
+ attrs:
|
|
|
+ - variable: name
|
|
|
+ label: "Name"
|
|
|
+ schema:
|
|
|
+ type: string
|
|
|
+ - variable: value
|
|
|
+ label: "Value"
|
|
|
+ schema:
|
|
|
+ type: string
|
|
|
+
|
|
|
+ - variable: appVolumeMounts
|
|
|
+ label: "Qbittorent Storage"
|
|
|
+ group: "Storage"
|
|
|
+ schema:
|
|
|
+ type: dict
|
|
|
+ attrs:
|
|
|
+ - variable: config
|
|
|
+ label: "Configuration Volume"
|
|
|
+ schema:
|
|
|
+ type: dict
|
|
|
+ attrs:
|
|
|
+ - variable: datasetName
|
|
|
+ label: "Configuration Volume Dataset Name"
|
|
|
+ schema:
|
|
|
+ type: string
|
|
|
+ hidden: true
|
|
|
+ $ref:
|
|
|
+ - "normalize/ixVolume"
|
|
|
+ show_if: [["hostPathEnabled", "=", false]]
|
|
|
+ default: "ix-qbittorent_config"
|
|
|
+ editable: false
|
|
|
+ - variable: mountPath
|
|
|
+ label: "Configuration Mount Path"
|
|
|
+ description: "Path where the volume will be mounted inside the pod"
|
|
|
+ schema:
|
|
|
+ type: path
|
|
|
+ hidden: true
|
|
|
+ editable: true
|
|
|
+ default: "/config"
|
|
|
+ - variable: hostPathEnabled
|
|
|
+ label: "Enable Custom Host Path for Qbittorent Configuration Volume"
|
|
|
+ schema:
|
|
|
+ type: boolean
|
|
|
+ default: false
|
|
|
+ show_subquestions_if: true
|
|
|
+ subquestions:
|
|
|
+ - variable: hostPath
|
|
|
+ label: "Host Path for Qbittorent Configuration Volume"
|
|
|
+ schema:
|
|
|
+ type: hostpath
|
|
|
+ required: true
|
|
|
+ - variable: downloads
|
|
|
+ label: "Downloads Volume"
|
|
|
+ schema:
|
|
|
+ type: dict
|
|
|
+ attrs:
|
|
|
+ - variable: datasetName
|
|
|
+ label: "Downloads Volume Dataset Name"
|
|
|
+ schema:
|
|
|
+ type: string
|
|
|
+ hidden: true
|
|
|
+ $ref:
|
|
|
+ - "normalize/ixVolume"
|
|
|
+ show_if: [["hostPathEnabled", "=", false]]
|
|
|
+ default: "ix-qbittorent_data"
|
|
|
+ editable: false
|
|
|
+ - variable: mountPath
|
|
|
+ label: "Downloads Mount Path"
|
|
|
+ description: "Path where the volume will be mounted inside the pod"
|
|
|
+ schema:
|
|
|
+ type: path
|
|
|
+ hidden: true
|
|
|
+ editable: true
|
|
|
+ default: "/downloads"
|
|
|
+ - variable: hostPathEnabled
|
|
|
+ label: "Enable Custom Host Path for Qbittorent Downloads Volume"
|
|
|
+ schema:
|
|
|
+ type: boolean
|
|
|
+ default: false
|
|
|
+ show_subquestions_if: true
|
|
|
+ subquestions:
|
|
|
+ - variable: hostPath
|
|
|
+ label: "Host Path for Qbittorent Downloads Volume"
|
|
|
+ schema:
|
|
|
+ type: hostpath
|
|
|
+ required: true
|
|
|
+
|
|
|
+ - variable: extraAppVolumeMounts
|
|
|
+ label: "Extra Host Path Volumes"
|
|
|
+ group: "Storage"
|
|
|
+ schema:
|
|
|
+ type: list
|
|
|
+ items:
|
|
|
+ - variable: extraAppVolume
|
|
|
+ label: "Host Path Volume"
|
|
|
+ description: "Add an extra host path volume for Qbittorent application"
|
|
|
+ schema:
|
|
|
+ type: dict
|
|
|
+ attrs:
|
|
|
+ - variable: mountPath
|
|
|
+ label: "Mount Path in Pod"
|
|
|
+ description: "Path where the volume will be mounted inside the pod"
|
|
|
+ schema:
|
|
|
+ type: path
|
|
|
+ required: true
|
|
|
+ - variable: hostPath
|
|
|
+ label: "Host Path"
|
|
|
+ description: "Host path"
|
|
|
+ schema:
|
|
|
+ type: hostpath
|
|
|
+ required: true
|