2021-02-17 11:47:38 +00:00
|
|
|
groups:
|
|
|
|
- name: "Container Image"
|
|
|
|
description: "Image configuration"
|
|
|
|
- name: "Configuration"
|
|
|
|
description: "Container configuration"
|
|
|
|
- name: "Networking"
|
|
|
|
description: "Network configuration"
|
|
|
|
- name: "Ingress"
|
2021-02-25 16:09:50 +00:00
|
|
|
description: "Reverse Proxy configuration"
|
2021-02-17 11:47:38 +00:00
|
|
|
- name: "Services"
|
|
|
|
description: "Service configuration"
|
|
|
|
- name: "Volume Mounts"
|
|
|
|
description: "Configuration volume mounts"
|
|
|
|
|
|
|
|
portals:
|
|
|
|
web_portal:
|
|
|
|
protocols:
|
|
|
|
- "http"
|
|
|
|
host:
|
|
|
|
- "$node_ip"
|
|
|
|
ports:
|
|
|
|
- "$variable-service.port.nodePort"
|
|
|
|
|
|
|
|
questions:
|
|
|
|
# Image related
|
|
|
|
- variable: image
|
|
|
|
group: "Container Image"
|
|
|
|
label: "Container Image"
|
|
|
|
schema:
|
|
|
|
type: dict
|
|
|
|
required: true
|
|
|
|
attrs:
|
|
|
|
- variable: repository
|
|
|
|
label: "Image Repository"
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
default: "linuxserver/tvheadend"
|
|
|
|
editable: false
|
|
|
|
- variable: tag
|
|
|
|
description: "Tag to use for specified image"
|
|
|
|
label: "Image Tag"
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
default: "latest"
|
|
|
|
required: true
|
|
|
|
- variable: pullPolicy
|
|
|
|
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"
|
|
|
|
# Update Policy
|
|
|
|
- variable: strategyType
|
|
|
|
group: "Container Image"
|
|
|
|
label: "Update Strategy"
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
default: "Recreate"
|
|
|
|
enum:
|
|
|
|
- value: "RollingUpdate"
|
|
|
|
description: "Create new pods and then kill old ones"
|
|
|
|
- value: "Recreate"
|
|
|
|
description: "Kill existing pods before creating new ones"
|
|
|
|
|
|
|
|
# Configure Time Zone
|
|
|
|
- variable: timezone
|
|
|
|
group: "Configuration"
|
|
|
|
label: "Timezone"
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
default: "Etc/UTC"
|
|
|
|
$ref:
|
|
|
|
- "definitions/timezone"
|
|
|
|
|
2021-02-22 10:55:26 +00:00
|
|
|
- variable: PUID
|
|
|
|
group: "Configuration"
|
|
|
|
label: "PUID"
|
|
|
|
description: "The UserID of the user running the application and owning the files"
|
|
|
|
schema:
|
|
|
|
type: int
|
|
|
|
default: 568
|
|
|
|
|
|
|
|
- variable: PGID
|
|
|
|
group: "Configuration"
|
|
|
|
label: "PGID"
|
|
|
|
description: "The groupID of the user/group running the application and owning the files"
|
|
|
|
schema:
|
|
|
|
type: int
|
|
|
|
default: 568
|
|
|
|
|
|
|
|
- variable: UMASK
|
|
|
|
group: "Configuration"
|
|
|
|
label: "UMASK (advanced)"
|
|
|
|
description: "The UMASK used if supported by the application"
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
default: "002"
|
|
|
|
|
2021-02-17 11:47:38 +00:00
|
|
|
# Enable Host Networking
|
|
|
|
- variable: hostNetworking
|
|
|
|
group: "Networking"
|
|
|
|
label: "Enable Host Networking"
|
|
|
|
schema:
|
|
|
|
type: boolean
|
|
|
|
default: false
|
|
|
|
|
|
|
|
# Service Configuration
|
|
|
|
- variable: service
|
|
|
|
group: "Services"
|
|
|
|
label: "Configure main service for the UI"
|
|
|
|
schema:
|
|
|
|
type: dict
|
|
|
|
attrs:
|
|
|
|
- variable: type
|
|
|
|
label: "Service type"
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
default: "ClusterIP"
|
|
|
|
enum:
|
|
|
|
- value: "ClusterIP"
|
|
|
|
description: "ClusterIP"
|
|
|
|
- value: "NodePort"
|
|
|
|
description: "NodePort"
|
|
|
|
show_subquestions_if: NodePort
|
|
|
|
subquestions:
|
|
|
|
- variable: port
|
|
|
|
label: "Port configuration"
|
|
|
|
schema:
|
|
|
|
type: dict
|
|
|
|
attrs:
|
|
|
|
- variable: port
|
|
|
|
label: "container port"
|
|
|
|
schema:
|
|
|
|
type: int
|
|
|
|
default: 9981
|
|
|
|
hidden: true
|
|
|
|
editable: false
|
|
|
|
- variable: nodePort
|
|
|
|
label: "Node Port to expose for UI"
|
|
|
|
schema:
|
|
|
|
type: int
|
|
|
|
min: 9000
|
|
|
|
max: 65535
|
|
|
|
default: 38091
|
|
|
|
required: true
|
2021-02-23 17:21:54 +00:00
|
|
|
|
|
|
|
|
2021-02-17 11:47:38 +00:00
|
|
|
- variable: appAdditionalServices
|
2021-02-22 10:55:26 +00:00
|
|
|
group: "Networking"
|
2021-02-17 11:47:38 +00:00
|
|
|
label: "Configure additional services"
|
|
|
|
schema:
|
|
|
|
type: dict
|
|
|
|
attrs:
|
|
|
|
- variable: htsp
|
|
|
|
label: ""
|
|
|
|
schema:
|
|
|
|
type: dict
|
|
|
|
attrs:
|
|
|
|
- variable: enabled
|
2021-02-22 10:55:26 +00:00
|
|
|
label: "Enable TCP port for HTSP Connections"
|
2021-02-17 11:47:38 +00:00
|
|
|
schema:
|
|
|
|
type: boolean
|
2021-02-22 10:55:26 +00:00
|
|
|
default: true
|
|
|
|
hidden: true
|
|
|
|
- variable: type
|
|
|
|
label: "Service type"
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
default: "ClusterIP"
|
|
|
|
enum:
|
|
|
|
- value: "NodePort"
|
|
|
|
description: "NodePort"
|
|
|
|
- value: "ClusterIP"
|
|
|
|
description: "ClusterIP"
|
|
|
|
- variable: port
|
|
|
|
label: "Port configuration"
|
|
|
|
schema:
|
|
|
|
type: dict
|
|
|
|
attrs:
|
|
|
|
- variable: name
|
|
|
|
label: "port name"
|
2021-02-17 11:47:38 +00:00
|
|
|
schema:
|
2021-02-22 10:55:26 +00:00
|
|
|
type: string
|
|
|
|
default: "htsp"
|
|
|
|
hidden: true
|
|
|
|
- variable: protocol
|
|
|
|
label: "Protocol"
|
2021-02-17 11:47:38 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
2021-02-22 10:55:26 +00:00
|
|
|
default: "TCP"
|
|
|
|
hidden: true
|
|
|
|
- variable: port
|
|
|
|
label: "container port"
|
|
|
|
schema:
|
|
|
|
type: int
|
|
|
|
default: 9982
|
|
|
|
editable: false
|
|
|
|
hidden: true
|
|
|
|
- variable: targetport
|
|
|
|
label: "container targetport"
|
|
|
|
schema:
|
|
|
|
type: int
|
|
|
|
default: 9982
|
|
|
|
editable: false
|
|
|
|
hidden: true
|
|
|
|
- variable: nodePort
|
|
|
|
label: "Node Port to expose"
|
|
|
|
schema:
|
|
|
|
type: int
|
|
|
|
min: 9000
|
|
|
|
max: 65535
|
|
|
|
default: 9982
|
|
|
|
required: false
|
2021-02-23 17:21:54 +00:00
|
|
|
|
2021-02-17 11:47:38 +00:00
|
|
|
# Configure app volumes
|
|
|
|
- variable: appVolumeMounts
|
|
|
|
group: "Volume Mounts"
|
|
|
|
label: ""
|
|
|
|
schema:
|
|
|
|
type: dict
|
|
|
|
attrs:
|
|
|
|
# Config ------------------------
|
|
|
|
- variable: config
|
|
|
|
label: "Config Volume"
|
|
|
|
schema:
|
|
|
|
type: dict
|
|
|
|
$ref:
|
|
|
|
- "normalize/ixVolume"
|
|
|
|
attrs:
|
|
|
|
- variable: enabled
|
|
|
|
label: "Enabled"
|
|
|
|
schema:
|
|
|
|
type: boolean
|
|
|
|
default: true
|
|
|
|
required: true
|
|
|
|
hidden: true
|
|
|
|
editable: false
|
2021-02-20 11:56:31 +00:00
|
|
|
- variable: setPermissions
|
|
|
|
label: "Automatic Permissions"
|
|
|
|
description: "Automatically set permissions on install"
|
|
|
|
schema:
|
|
|
|
type: boolean
|
|
|
|
default: true
|
2021-02-23 17:21:54 +00:00
|
|
|
hidden: false
|
2021-02-17 11:47:38 +00:00
|
|
|
- variable: emptyDir
|
|
|
|
label: "emptyDir"
|
|
|
|
schema:
|
|
|
|
type: boolean
|
|
|
|
default: false
|
|
|
|
hidden: true
|
|
|
|
editable: false
|
|
|
|
- variable: datasetName
|
|
|
|
label: "Name"
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
default: "store"
|
|
|
|
editable: false
|
|
|
|
- variable: mountPath
|
|
|
|
label: "Mount path inside the container"
|
|
|
|
schema:
|
|
|
|
type: path
|
|
|
|
default: "/config"
|
|
|
|
editable: false
|
|
|
|
- variable: hostPathEnabled
|
|
|
|
label: "Config - Enable Host Path"
|
|
|
|
description: "something about this here"
|
|
|
|
schema:
|
|
|
|
type: boolean
|
|
|
|
default: false
|
|
|
|
show_subquestions_if: true
|
|
|
|
subquestions:
|
|
|
|
- variable: hostPath
|
|
|
|
label: "Config Host Path"
|
|
|
|
description: "Host path to store config"
|
|
|
|
schema:
|
|
|
|
type: hostpath
|
|
|
|
required: true
|
|
|
|
# Recordings ------------------------
|
|
|
|
- variable: recordings
|
|
|
|
label: "Recordings Volume"
|
|
|
|
schema:
|
|
|
|
type: dict
|
|
|
|
$ref:
|
|
|
|
- "normalize/ixVolume"
|
|
|
|
attrs:
|
|
|
|
- variable: enabled
|
|
|
|
label: "Enabled"
|
|
|
|
schema:
|
|
|
|
type: boolean
|
|
|
|
default: true
|
|
|
|
required: true
|
|
|
|
hidden: true
|
|
|
|
editable: false
|
2021-02-20 11:56:31 +00:00
|
|
|
- variable: setPermissions
|
|
|
|
label: "Automatic Permissions"
|
|
|
|
description: "Automatically set permissions on install"
|
|
|
|
schema:
|
|
|
|
type: boolean
|
|
|
|
default: true
|
2021-02-23 17:21:54 +00:00
|
|
|
hidden: false
|
2021-02-17 11:47:38 +00:00
|
|
|
- variable: emptyDir
|
|
|
|
label: "emptyDir"
|
|
|
|
schema:
|
|
|
|
type: boolean
|
|
|
|
default: false
|
|
|
|
hidden: true
|
|
|
|
editable: false
|
|
|
|
- variable: datasetName
|
|
|
|
label: "Name"
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
default: "store"
|
|
|
|
editable: false
|
|
|
|
- variable: mountPath
|
|
|
|
label: "Mount path inside the container"
|
|
|
|
schema:
|
|
|
|
type: path
|
|
|
|
default: "/recordings"
|
|
|
|
editable: false
|
|
|
|
- variable: hostPathEnabled
|
|
|
|
label: "recordings - Enable Host Path"
|
|
|
|
description: "something about this here"
|
|
|
|
schema:
|
|
|
|
type: boolean
|
|
|
|
default: false
|
|
|
|
show_subquestions_if: true
|
|
|
|
subquestions:
|
|
|
|
- variable: hostPath
|
|
|
|
label: "recordings Host Path"
|
|
|
|
description: "Host path to store recordings"
|
|
|
|
schema:
|
|
|
|
type: hostpath
|
|
|
|
required: true
|
|
|
|
|
|
|
|
- variable: appIngress
|
|
|
|
label: ""
|
|
|
|
group: "Ingress"
|
|
|
|
schema:
|
|
|
|
type: dict
|
|
|
|
attrs:
|
|
|
|
- variable: webui
|
2021-02-25 16:09:50 +00:00
|
|
|
label: "Web Reverse Proxy Configuration"
|
2021-02-17 11:47:38 +00:00
|
|
|
group: "Ingress"
|
|
|
|
schema:
|
|
|
|
type: dict
|
|
|
|
attrs:
|
|
|
|
- variable: enabled
|
2021-02-25 16:09:50 +00:00
|
|
|
label: "Enable Web Reverse Proxy"
|
2021-02-17 11:47:38 +00:00
|
|
|
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: ""
|