2021-02-10 05:09:33 -05:00
|
|
|
groups:
|
|
|
|
- name: "Container Image"
|
|
|
|
description: "configure container image"
|
|
|
|
- name: "Configuration"
|
|
|
|
description: "additional container configuration"
|
|
|
|
- name: "Networking"
|
|
|
|
description: "Networking / service configuration"
|
|
|
|
- name: "Storage"
|
|
|
|
description: "configure app volume mounts"
|
|
|
|
- name: "Ingress"
|
|
|
|
description: "Ingress configuration"
|
|
|
|
portals:
|
|
|
|
web_portal:
|
|
|
|
protocols:
|
|
|
|
- "http"
|
|
|
|
host:
|
|
|
|
- "$node_ip"
|
|
|
|
ports:
|
|
|
|
- "$variable-service.port.nodePort"
|
|
|
|
|
|
|
|
questions:
|
|
|
|
# Image related
|
|
|
|
- variable: image
|
|
|
|
description: "Docker Image Details"
|
|
|
|
label: "Docker Image"
|
|
|
|
group: "Container Image"
|
|
|
|
schema:
|
|
|
|
type: dict
|
|
|
|
required: true
|
|
|
|
attrs:
|
|
|
|
- variable: repository
|
|
|
|
description: "Docker image repository"
|
|
|
|
label: "Image repository"
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
required: true
|
|
|
|
default: "linuxserver/qbittorrent"
|
|
|
|
- variable: tag
|
|
|
|
description: "Tag to use for specified image"
|
|
|
|
label: "Image Tag"
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
default: "version-4.3.0202010181232-7086-1c663adeeubuntu18.04.1"
|
|
|
|
- variable: pullPolicy
|
|
|
|
description: "Docker Image Pull Policy"
|
|
|
|
label: "Image Pull Policy"
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
default: "IfNotPresent"
|
|
|
|
enum:
|
|
|
|
- value: "IfNotPresent"
|
|
|
|
description: "Only pull image if not present on host"
|
|
|
|
- value: "Always"
|
|
|
|
description: "Always pull image even if present on host"
|
|
|
|
- value: "Never"
|
|
|
|
description: "Never pull image even if it's not present on host"
|
|
|
|
|
|
|
|
# Configure Time Zone
|
|
|
|
- variable: timezone
|
|
|
|
group: "Configuration"
|
|
|
|
label: "Timezone"
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
default: "Etc/UTC"
|
|
|
|
$ref:
|
|
|
|
- "definitions/timezone"
|
|
|
|
|
|
|
|
# Configure Enviroment Variables
|
|
|
|
- variable: environmentVariables
|
|
|
|
label: "Image 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: service
|
|
|
|
group: "Networking"
|
|
|
|
label: "Configure Service"
|
|
|
|
schema:
|
|
|
|
type: dict
|
|
|
|
attrs:
|
|
|
|
- variable: type
|
|
|
|
label: "Service type"
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
default: "ClusterIP"
|
|
|
|
enum:
|
|
|
|
- value: "NodePort"
|
|
|
|
description: "NodePort"
|
|
|
|
- value: "ClusterIP"
|
|
|
|
description: "ClusterIP"
|
|
|
|
show_subquestions_if: "NodePort"
|
|
|
|
subquestions:
|
|
|
|
- variable: port
|
|
|
|
label: "Port configuration"
|
|
|
|
schema:
|
|
|
|
type: dict
|
|
|
|
attrs:
|
|
|
|
- variable: port
|
|
|
|
label: "container port"
|
|
|
|
schema:
|
|
|
|
type: int
|
|
|
|
default: 8787
|
|
|
|
editable: false
|
|
|
|
- variable: nodePort
|
|
|
|
label: "Node Port to expose for UI"
|
|
|
|
schema:
|
|
|
|
type: int
|
|
|
|
min: 9000
|
|
|
|
max: 65535
|
|
|
|
default: 36052
|
|
|
|
required: true
|
|
|
|
|
|
|
|
- variable: appAdditionalServices
|
|
|
|
group: "Networking"
|
|
|
|
label: "Configure additional services"
|
|
|
|
schema:
|
|
|
|
type: dict
|
|
|
|
attrs:
|
|
|
|
- variable: tcp
|
|
|
|
label: ""
|
|
|
|
schema:
|
|
|
|
type: dict
|
|
|
|
attrs:
|
|
|
|
- variable: enabled
|
|
|
|
label: "Enable TCP port for Torrent Connections"
|
|
|
|
schema:
|
|
|
|
type: boolean
|
|
|
|
default: true
|
|
|
|
show_subquestions_if: true
|
|
|
|
subquestions:
|
|
|
|
- variable: port
|
|
|
|
label: "Configuration"
|
|
|
|
schema:
|
|
|
|
type: dict
|
|
|
|
attrs:
|
|
|
|
- variable: targetPort
|
|
|
|
label: "container targetPort"
|
|
|
|
schema:
|
|
|
|
type: int
|
|
|
|
default: 6881
|
|
|
|
required: false
|
|
|
|
- variable: port
|
|
|
|
label: "container port"
|
|
|
|
schema:
|
|
|
|
type: int
|
|
|
|
default: 51413
|
|
|
|
required: false
|
|
|
|
- variable: type
|
|
|
|
label: "service type"
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
default: "ClusterIP"
|
|
|
|
enum:
|
|
|
|
- value: "ClusterIP"
|
|
|
|
description: "ClusterIP"
|
|
|
|
- value: "NodePort"
|
|
|
|
description: "NodePort"
|
|
|
|
- variable: udp
|
|
|
|
label: ""
|
|
|
|
schema:
|
|
|
|
type: dict
|
|
|
|
attrs:
|
|
|
|
- variable: enabled
|
2021-02-15 16:54:49 -05:00
|
|
|
label: "Enable UDP port for Torrent Connections"
|
2021-02-10 05:09:33 -05:00
|
|
|
schema:
|
|
|
|
type: boolean
|
|
|
|
default: true
|
|
|
|
show_subquestions_if: true
|
|
|
|
subquestions:
|
|
|
|
- variable: port
|
|
|
|
label: "Configuration"
|
|
|
|
schema:
|
|
|
|
type: dict
|
|
|
|
attrs:
|
|
|
|
- variable: targetPort
|
|
|
|
label: "container targetPort"
|
|
|
|
schema:
|
|
|
|
type: int
|
|
|
|
default: 6881
|
|
|
|
required: false
|
|
|
|
- variable: port
|
|
|
|
label: "container port"
|
|
|
|
schema:
|
|
|
|
type: int
|
|
|
|
default: 51413
|
|
|
|
required: false
|
|
|
|
- variable: type
|
|
|
|
label: "service type"
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
default: "ClusterIP"
|
|
|
|
enum:
|
|
|
|
- value: "ClusterIP"
|
|
|
|
description: "ClusterIP"
|
|
|
|
- value: "NodePort"
|
|
|
|
description: "NodePort"
|
|
|
|
|
|
|
|
# Enable Host Network
|
|
|
|
- variable: hostNetwork
|
|
|
|
group: "Networking"
|
|
|
|
label: "Enable Host Network"
|
|
|
|
schema:
|
|
|
|
type: boolean
|
|
|
|
default: false
|
|
|
|
|
|
|
|
## TrueCharts Specific
|
|
|
|
|
|
|
|
- variable: appVolumeMounts
|
|
|
|
label: "app storage"
|
|
|
|
group: "Storage"
|
|
|
|
schema:
|
|
|
|
type: dict
|
|
|
|
attrs:
|
|
|
|
- variable: config
|
|
|
|
label: "config dataset"
|
|
|
|
schema:
|
|
|
|
type: dict
|
|
|
|
$ref:
|
|
|
|
- "normalize/ixVolume"
|
|
|
|
attrs:
|
2021-02-11 15:05:16 -05:00
|
|
|
- variable: enabled
|
|
|
|
label: "Enabled"
|
|
|
|
schema:
|
|
|
|
type: boolean
|
|
|
|
default: true
|
|
|
|
required: true
|
|
|
|
hidden: true
|
|
|
|
editable: false
|
2021-02-20 06:56:31 -05:00
|
|
|
- variable: setPermissions
|
|
|
|
label: "Automatic Permissions"
|
|
|
|
description: "Automatically set permissions on install"
|
|
|
|
schema:
|
|
|
|
type: boolean
|
|
|
|
default: true
|
|
|
|
hidden: false
|
2021-02-11 15:05:16 -05:00
|
|
|
- variable: emptyDir
|
|
|
|
label: "emptyDir"
|
|
|
|
schema:
|
|
|
|
type: boolean
|
|
|
|
default: false
|
|
|
|
hidden: true
|
|
|
|
editable: false
|
2021-02-10 05:09:33 -05:00
|
|
|
- variable: datasetName
|
|
|
|
label: "Dataset Name"
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
default: "config"
|
|
|
|
required: true
|
|
|
|
editable: false
|
|
|
|
- variable: mountPath
|
|
|
|
label: "Mount Path"
|
|
|
|
description: "Path to mount inside the pod"
|
|
|
|
schema:
|
|
|
|
type: path
|
|
|
|
required: true
|
|
|
|
default: "/config"
|
|
|
|
editable: false
|
|
|
|
- variable: hostPathEnabled
|
|
|
|
label: "host Path Enabled"
|
|
|
|
schema:
|
|
|
|
type: boolean
|
|
|
|
default: false
|
|
|
|
show_subquestions_if: true
|
|
|
|
subquestions:
|
|
|
|
- variable: hostPath
|
|
|
|
label: "Host Path"
|
|
|
|
schema:
|
|
|
|
type: hostpath
|
|
|
|
required: true
|
|
|
|
- variable: downloads
|
|
|
|
label: "downloads dataset"
|
|
|
|
schema:
|
|
|
|
type: dict
|
|
|
|
$ref:
|
|
|
|
- "normalize/ixVolume"
|
|
|
|
attrs:
|
2021-02-11 15:05:16 -05:00
|
|
|
- variable: enabled
|
|
|
|
label: "Enabled"
|
|
|
|
schema:
|
|
|
|
type: boolean
|
|
|
|
default: true
|
|
|
|
required: true
|
|
|
|
hidden: true
|
|
|
|
editable: false
|
2021-02-20 06:56:31 -05:00
|
|
|
- variable: setPermissions
|
|
|
|
label: "Automatic Permissions"
|
|
|
|
description: "Automatically set permissions on install"
|
|
|
|
schema:
|
|
|
|
type: boolean
|
|
|
|
default: true
|
|
|
|
hidden: false
|
2021-02-11 15:05:16 -05:00
|
|
|
- variable: emptyDir
|
|
|
|
label: "emptyDir"
|
|
|
|
schema:
|
|
|
|
type: boolean
|
|
|
|
default: false
|
|
|
|
hidden: true
|
|
|
|
editable: false
|
2021-02-10 05:09:33 -05:00
|
|
|
- variable: datasetName
|
|
|
|
label: "Dataset Name"
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
default: "downloads"
|
|
|
|
required: true
|
|
|
|
editable: false
|
|
|
|
- variable: mountPath
|
|
|
|
label: "Mount Path"
|
|
|
|
description: "Path to mount inside the pod"
|
|
|
|
schema:
|
|
|
|
type: path
|
|
|
|
required: true
|
|
|
|
default: "/downloads"
|
|
|
|
editable: false
|
|
|
|
- variable: hostPathEnabled
|
|
|
|
label: "host Path Enabled"
|
|
|
|
schema:
|
|
|
|
type: boolean
|
|
|
|
default: false
|
|
|
|
show_subquestions_if: true
|
|
|
|
subquestions:
|
|
|
|
- variable: hostPath
|
|
|
|
label: "Host Path"
|
|
|
|
schema:
|
|
|
|
type: hostpath
|
|
|
|
required: true
|
|
|
|
|
|
|
|
|
|
|
|
- variable: appIngress
|
|
|
|
label: ""
|
|
|
|
group: "Ingress"
|
|
|
|
schema:
|
|
|
|
type: dict
|
|
|
|
attrs:
|
|
|
|
- variable: webui
|
|
|
|
label: "Web Ingress Configuration"
|
|
|
|
group: "Ingress"
|
|
|
|
schema:
|
|
|
|
type: dict
|
|
|
|
attrs:
|
|
|
|
- variable: enabled
|
|
|
|
label: "Enable Web Ingress"
|
|
|
|
schema:
|
|
|
|
type: boolean
|
|
|
|
default: false
|
|
|
|
show_subquestions_if: true
|
|
|
|
subquestions:
|
|
|
|
- variable: entrypoint
|
|
|
|
label: "Select Entrypoint"
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
default: "websecure"
|
|
|
|
required: true
|
|
|
|
enum:
|
|
|
|
- value: "websecure"
|
|
|
|
description: "Websecure: HTTPS/TLS port 443"
|
|
|
|
- variable: hosts
|
|
|
|
label: "Hosts"
|
|
|
|
schema:
|
|
|
|
type: list
|
|
|
|
default: []
|
|
|
|
items:
|
|
|
|
- variable: host
|
|
|
|
label: "Host"
|
|
|
|
schema:
|
|
|
|
type: dict
|
|
|
|
attrs:
|
|
|
|
- variable: host
|
|
|
|
label: "Domain Name"
|
|
|
|
required: true
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
- variable: paths
|
|
|
|
label: "paths"
|
|
|
|
schema:
|
|
|
|
type: list
|
|
|
|
default: []
|
|
|
|
items:
|
|
|
|
- variable: path
|
|
|
|
label: "Path"
|
|
|
|
schema:
|
|
|
|
type: dict
|
|
|
|
attrs:
|
|
|
|
- variable: path
|
|
|
|
label: "path"
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
required: true
|
|
|
|
default: "/"
|
|
|
|
- variable: pathType
|
|
|
|
label: "pathType"
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
required: true
|
|
|
|
default: "prefix"
|
|
|
|
- variable: certType
|
|
|
|
label: "Select Certificate Type"
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
default: "letsencrypt-prod"
|
|
|
|
enum:
|
|
|
|
- value: ""
|
|
|
|
description: "No Encryption/TLS/Certificates"
|
|
|
|
- value: "letsencrypt-prod"
|
|
|
|
description: "Letsencrypt Production Certificates"
|
|
|
|
- value: "letsencrypt-staging"
|
|
|
|
description: "Letsencrypt Test Certificates"
|
|
|
|
- value: "wildcard"
|
|
|
|
description: "Global Wildcard Certificate"
|
|
|
|
- value: "selfsigned"
|
|
|
|
description: "Self-Signed Certificate"
|
|
|
|
- value: "existingcert"
|
|
|
|
description: "Existing Certificate"
|
|
|
|
show_subquestions_if: "existingcert"
|
|
|
|
subquestions:
|
|
|
|
- variable: existingcert
|
|
|
|
label: "Existing Certificate Name"
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
default: ""
|
|
|
|
- variable: authForwardURL
|
|
|
|
label: "Forward Authentication URL"
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
default: ""
|
|
|
|
- variable: tcp
|
|
|
|
label: "TCP Ingress Configuration"
|
|
|
|
group: "Ingress"
|
|
|
|
schema:
|
|
|
|
type: dict
|
|
|
|
attrs:
|
|
|
|
- variable: enabled
|
|
|
|
label: "Enable TCP Ingress"
|
|
|
|
schema:
|
|
|
|
type: boolean
|
|
|
|
default: false
|
|
|
|
show_subquestions_if: true
|
|
|
|
subquestions:
|
|
|
|
- variable: type
|
|
|
|
label: "Select Ingress Type"
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
default: "TCP"
|
|
|
|
required: true
|
|
|
|
editable: false
|
|
|
|
enum:
|
|
|
|
- value: "TCP"
|
|
|
|
description: "Plain TCP Connections"
|
|
|
|
- variable: entrypoint
|
|
|
|
label: "Select Entrypoint"
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
default: "torrent-tcp"
|
|
|
|
required: true
|
|
|
|
enum:
|
|
|
|
- value: "torrent-tcp"
|
|
|
|
description: "Torrent-TCP: port 51413"
|
|
|
|
- variable: certType
|
|
|
|
label: "Select Certificate Type"
|
|
|
|
schema:
|
|
|
|
editable: false
|
|
|
|
type: string
|
|
|
|
default: ""
|
|
|
|
enum:
|
|
|
|
- value: ""
|
|
|
|
description: "No Encryption/TLS/Certificates"
|
|
|
|
- variable: udp
|
|
|
|
label: "UDP Ingress Configuration"
|
|
|
|
group: "Ingress"
|
|
|
|
schema:
|
|
|
|
type: dict
|
|
|
|
attrs:
|
|
|
|
- variable: enabled
|
|
|
|
label: "Enable UDP Ingress"
|
|
|
|
schema:
|
|
|
|
type: boolean
|
|
|
|
default: false
|
|
|
|
show_subquestions_if: true
|
|
|
|
subquestions:
|
|
|
|
- variable: type
|
|
|
|
label: "Select Ingress Type"
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
default: "UDP"
|
|
|
|
required: true
|
|
|
|
editable: false
|
|
|
|
enum:
|
|
|
|
- value: "UDP"
|
|
|
|
description: "Plain UDP Connections"
|
|
|
|
- variable: entrypoint
|
|
|
|
label: "Select Entrypoint"
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
default: "torrent-udp"
|
|
|
|
required: true
|
|
|
|
enum:
|
|
|
|
- value: "torrent-udp"
|
2021-02-15 16:54:49 -05:00
|
|
|
description: "Torrent-UDP: port 51413"
|