2021-02-10 05:09:33 -05:00
|
|
|
groups:
|
|
|
|
- name: "Container Image"
|
2021-03-06 15:32:31 -05:00
|
|
|
description: "Image to be used for container"
|
|
|
|
- name: "Workload Configuration"
|
|
|
|
description: "Configure workload deployment"
|
2021-02-10 05:09:33 -05:00
|
|
|
- name: "Configuration"
|
|
|
|
description: "additional container configuration"
|
|
|
|
- name: "Networking"
|
2021-03-06 15:32:31 -05:00
|
|
|
description: "Configure / service for container"
|
|
|
|
- name: "Storage and Devices"
|
|
|
|
description: "Persist and share data that is separate from the lifecycle of the container"
|
|
|
|
- name: "Resource Reservation"
|
|
|
|
description: "Specify resources to be allocated to workload"
|
2021-03-05 16:31:02 -05:00
|
|
|
- name: "Reverse Proxy Configuration"
|
|
|
|
description: "Reverse Proxy configuration"
|
2021-03-12 10:56:04 -05:00
|
|
|
- name: "Advanced"
|
|
|
|
description: "Advanced Configuration"
|
2021-03-06 15:32:31 -05:00
|
|
|
- name: "WARNING"
|
|
|
|
description: "WARNING"
|
2021-03-05 16:31:02 -05:00
|
|
|
|
2021-02-10 05:09:33 -05:00
|
|
|
portals:
|
|
|
|
web_portal:
|
|
|
|
protocols:
|
2021-03-11 11:41:17 -05:00
|
|
|
- "$kubernetes-resource_configmap_portal_protocol"
|
2021-02-10 05:09:33 -05:00
|
|
|
host:
|
2021-03-11 11:41:17 -05:00
|
|
|
- "$kubernetes-resource_configmap_portal_host"
|
2021-02-10 05:09:33 -05:00
|
|
|
ports:
|
2021-03-11 11:41:17 -05:00
|
|
|
- "$kubernetes-resource_configmap_portal_port"
|
2021-02-10 05:09:33 -05:00
|
|
|
|
|
|
|
questions:
|
2021-03-06 15:32:31 -05:00
|
|
|
|
2021-03-11 11:41:17 -05:00
|
|
|
- variable: portal
|
|
|
|
group: "Container Image"
|
|
|
|
label: "Configure Portal Button"
|
|
|
|
schema:
|
|
|
|
type: dict
|
|
|
|
hidden: true
|
|
|
|
attrs:
|
|
|
|
- variable: enabled
|
|
|
|
label: "Enable"
|
|
|
|
description: "enable the portal button"
|
|
|
|
schema:
|
|
|
|
hidden: true
|
|
|
|
editable: false
|
|
|
|
type: boolean
|
|
|
|
default: true
|
|
|
|
|
|
|
|
|
2021-03-06 15:32:31 -05:00
|
|
|
# Update Policy
|
|
|
|
- variable: strategyType
|
2021-02-10 05:09:33 -05:00
|
|
|
group: "Container Image"
|
2021-03-06 15:32:31 -05:00
|
|
|
label: "Update Strategy"
|
2021-02-10 05:09:33 -05:00
|
|
|
schema:
|
2021-03-06 15:32:31 -05:00
|
|
|
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"
|
2021-02-10 05:09:33 -05:00
|
|
|
|
2021-03-17 12:20:26 -04:00
|
|
|
# Configure Time Zone
|
2021-02-10 05:09:33 -05:00
|
|
|
# Configure Time Zone
|
|
|
|
- variable: timezone
|
2021-03-17 12:20:26 -04:00
|
|
|
group: "Container Image"
|
2021-02-10 05:09:33 -05:00
|
|
|
label: "Timezone"
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
default: "Etc/UTC"
|
|
|
|
$ref:
|
|
|
|
- "definitions/timezone"
|
|
|
|
|
2021-02-22 05:55:26 -05:00
|
|
|
- variable: PUID
|
2021-03-17 12:20:26 -04:00
|
|
|
group: "Container Image"
|
2021-02-22 05:55:26 -05:00
|
|
|
label: "PUID"
|
|
|
|
description: "The UserID of the user running the application and owning the files"
|
|
|
|
schema:
|
|
|
|
type: int
|
|
|
|
default: 568
|
|
|
|
|
|
|
|
- variable: PGID
|
2021-03-17 12:20:26 -04:00
|
|
|
group: "Container Image"
|
2021-02-22 05:55:26 -05:00
|
|
|
label: "PGID"
|
|
|
|
description: "The groupID of the user/group running the application and owning the files"
|
|
|
|
schema:
|
|
|
|
type: int
|
|
|
|
default: 568
|
|
|
|
|
|
|
|
- variable: UMASK
|
2021-03-17 12:20:26 -04:00
|
|
|
group: "Container Image"
|
2021-02-22 05:55:26 -05:00
|
|
|
label: "UMASK (advanced)"
|
|
|
|
description: "The UMASK used if supported by the application"
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
default: "002"
|
|
|
|
|
2021-02-10 05:09:33 -05:00
|
|
|
# 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
|
2021-02-23 12:21:54 -05:00
|
|
|
|
2021-03-06 15:32:31 -05:00
|
|
|
# Enable Host Networking
|
|
|
|
- variable: hostNetwork
|
|
|
|
group: "Networking"
|
|
|
|
label: "Enable Host Networking"
|
|
|
|
schema:
|
|
|
|
type: boolean
|
|
|
|
default: false
|
|
|
|
|
2021-03-03 10:51:25 -05:00
|
|
|
- variable: services
|
2021-02-10 05:09:33 -05:00
|
|
|
group: "Networking"
|
|
|
|
label: "Configure Service"
|
|
|
|
schema:
|
|
|
|
type: dict
|
|
|
|
attrs:
|
2021-03-03 10:51:25 -05:00
|
|
|
- variable: main
|
|
|
|
label: "Main service"
|
|
|
|
description: "The Primary service on which the healthcheck runs, often the webUI"
|
2021-02-10 05:09:33 -05:00
|
|
|
schema:
|
2021-03-03 10:51:25 -05:00
|
|
|
type: dict
|
|
|
|
attrs:
|
|
|
|
- variable: enabled
|
|
|
|
label: "Enable the service"
|
|
|
|
schema:
|
|
|
|
type: boolean
|
|
|
|
default: true
|
|
|
|
hidden: true
|
|
|
|
- variable: type
|
|
|
|
label: "Service type"
|
|
|
|
description: "ClusterIP's are only internally available, nodePorts expose the container to the host node System"
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
default: "ClusterIP"
|
|
|
|
enum:
|
2021-03-11 11:41:17 -05:00
|
|
|
- value: "NodePort"
|
2021-03-03 10:51:25 -05:00
|
|
|
description: "NodePort"
|
|
|
|
- value: "ClusterIP"
|
|
|
|
description: "ClusterIP"
|
2021-02-10 05:09:33 -05:00
|
|
|
- variable: port
|
|
|
|
label: "Port configuration"
|
|
|
|
schema:
|
|
|
|
type: dict
|
|
|
|
attrs:
|
2021-03-03 10:51:25 -05:00
|
|
|
- variable: protocol
|
|
|
|
label: "Port Type"
|
|
|
|
schema:
|
|
|
|
type: string
|
2021-03-17 12:20:26 -04:00
|
|
|
default: "HTTPS"
|
2021-03-12 10:56:04 -05:00
|
|
|
hidden: false
|
2021-03-03 10:51:25 -05:00
|
|
|
enum:
|
2021-03-12 10:56:04 -05:00
|
|
|
- value: HTTP
|
|
|
|
description: "HTTP"
|
|
|
|
- value: "HTTPS"
|
|
|
|
description: "HTTPS"
|
2021-02-10 05:09:33 -05:00
|
|
|
- variable: port
|
|
|
|
label: "container port"
|
|
|
|
schema:
|
|
|
|
type: int
|
2021-03-03 10:51:25 -05:00
|
|
|
default: 8443
|
2021-02-10 05:09:33 -05:00
|
|
|
editable: false
|
2021-03-03 10:51:25 -05:00
|
|
|
hidden: true
|
|
|
|
- variable: targetport
|
|
|
|
label: "Internal Service port"
|
|
|
|
description: "When connecting internally to this App, you'll need this port"
|
|
|
|
schema:
|
|
|
|
type: int
|
|
|
|
default: 8443
|
2021-03-05 16:31:02 -05:00
|
|
|
editable: false
|
|
|
|
hidden: true
|
2021-02-10 05:09:33 -05:00
|
|
|
- variable: nodePort
|
2021-03-03 10:51:25 -05:00
|
|
|
label: "(optional) host nodePort to expose to"
|
|
|
|
description: "only get used when nodePort is selected"
|
2021-02-10 05:09:33 -05:00
|
|
|
schema:
|
|
|
|
type: int
|
|
|
|
min: 9000
|
|
|
|
max: 65535
|
|
|
|
default: 36052
|
|
|
|
required: true
|
|
|
|
- variable: tcp
|
2021-03-03 10:51:25 -05:00
|
|
|
label: "Unifi Device Communications"
|
|
|
|
description: "This services is used for devices to communicate with the controller"
|
2021-02-10 05:09:33 -05:00
|
|
|
schema:
|
|
|
|
type: dict
|
|
|
|
attrs:
|
|
|
|
- variable: enabled
|
2021-03-03 10:51:25 -05:00
|
|
|
label: "Enable the service"
|
2021-02-10 05:09:33 -05:00
|
|
|
schema:
|
|
|
|
type: boolean
|
|
|
|
default: true
|
2021-02-22 05:55:26 -05:00
|
|
|
hidden: true
|
|
|
|
- variable: type
|
|
|
|
label: "Service type"
|
2021-03-03 10:51:25 -05:00
|
|
|
description: "ClusterIP's are only internally available, nodePorts expose the container to the host node System"
|
2021-02-22 05:55:26 -05:00
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
default: "ClusterIP"
|
|
|
|
enum:
|
2021-03-11 11:41:17 -05:00
|
|
|
- value: "NodePort"
|
2021-02-22 05:55:26 -05:00
|
|
|
description: "NodePort"
|
|
|
|
- value: "ClusterIP"
|
|
|
|
description: "ClusterIP"
|
|
|
|
- variable: port
|
|
|
|
label: "Port configuration"
|
|
|
|
schema:
|
|
|
|
type: dict
|
|
|
|
attrs:
|
|
|
|
- variable: protocol
|
2021-03-03 10:51:25 -05:00
|
|
|
label: "Port Type"
|
2021-02-10 05:09:33 -05:00
|
|
|
schema:
|
|
|
|
type: string
|
2021-02-22 05:55:26 -05:00
|
|
|
default: "TCP"
|
|
|
|
hidden: true
|
2021-03-03 10:51:25 -05:00
|
|
|
enum:
|
|
|
|
- value: TCP
|
|
|
|
description: "TCP"
|
|
|
|
- value: "UDP"
|
|
|
|
description: "UDP"
|
2021-02-22 05:55:26 -05:00
|
|
|
- variable: port
|
|
|
|
label: "container port"
|
|
|
|
schema:
|
|
|
|
type: int
|
2021-03-03 10:51:25 -05:00
|
|
|
default: 8080
|
2021-02-22 05:55:26 -05:00
|
|
|
editable: false
|
|
|
|
hidden: true
|
|
|
|
- variable: targetport
|
2021-03-03 10:51:25 -05:00
|
|
|
label: "Internal Service port"
|
|
|
|
description: "When connecting internally to this App, you'll need this port"
|
2021-02-22 05:55:26 -05:00
|
|
|
schema:
|
|
|
|
type: int
|
2021-03-03 10:51:25 -05:00
|
|
|
default: 8080
|
2021-03-05 16:31:02 -05:00
|
|
|
editable: false
|
|
|
|
hidden: true
|
2021-02-22 05:55:26 -05:00
|
|
|
- variable: nodePort
|
2021-03-03 10:51:25 -05:00
|
|
|
label: "(optional) host nodePort to expose to"
|
|
|
|
description: "only get used when nodePort is selected"
|
2021-02-22 05:55:26 -05:00
|
|
|
schema:
|
|
|
|
type: int
|
|
|
|
min: 9000
|
|
|
|
max: 65535
|
2021-03-03 10:51:25 -05:00
|
|
|
default: 36052
|
|
|
|
required: true
|
2021-02-10 05:09:33 -05:00
|
|
|
- variable: udp
|
2021-03-03 10:51:25 -05:00
|
|
|
label: "Stun Device Communications"
|
|
|
|
description: "This services is used for devices to communicate with the controller using STUN"
|
2021-02-10 05:09:33 -05:00
|
|
|
schema:
|
|
|
|
type: dict
|
|
|
|
attrs:
|
|
|
|
- variable: enabled
|
2021-03-03 10:51:25 -05:00
|
|
|
label: "Enable the service"
|
2021-02-10 05:09:33 -05:00
|
|
|
schema:
|
|
|
|
type: boolean
|
|
|
|
default: true
|
2021-02-22 05:55:26 -05:00
|
|
|
hidden: true
|
|
|
|
- variable: type
|
|
|
|
label: "Service type"
|
2021-03-03 10:51:25 -05:00
|
|
|
description: "ClusterIP's are only internally available, nodePorts expose the container to the host node System"
|
2021-02-22 05:55:26 -05:00
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
default: "ClusterIP"
|
|
|
|
enum:
|
2021-03-11 11:41:17 -05:00
|
|
|
- value: "NodePort"
|
2021-02-22 05:55:26 -05:00
|
|
|
description: "NodePort"
|
|
|
|
- value: "ClusterIP"
|
|
|
|
description: "ClusterIP"
|
|
|
|
- variable: port
|
|
|
|
label: "Port configuration"
|
|
|
|
schema:
|
|
|
|
type: dict
|
|
|
|
attrs:
|
|
|
|
- variable: protocol
|
2021-03-03 10:51:25 -05:00
|
|
|
label: "Port Type"
|
2021-02-10 05:09:33 -05:00
|
|
|
schema:
|
|
|
|
type: string
|
2021-02-22 05:55:26 -05:00
|
|
|
default: "UDP"
|
|
|
|
hidden: true
|
2021-03-03 10:51:25 -05:00
|
|
|
enum:
|
|
|
|
- value: TCP
|
|
|
|
description: "TCP"
|
|
|
|
- value: "UDP"
|
|
|
|
description: "UDP"
|
2021-02-22 05:55:26 -05:00
|
|
|
- variable: port
|
|
|
|
label: "container port"
|
|
|
|
schema:
|
|
|
|
type: int
|
2021-03-03 10:51:25 -05:00
|
|
|
default: 3478
|
2021-02-22 05:55:26 -05:00
|
|
|
editable: false
|
|
|
|
hidden: true
|
|
|
|
- variable: targetport
|
2021-03-03 10:51:25 -05:00
|
|
|
label: "Internal Service port"
|
|
|
|
description: "When connecting internally to this App, you'll need this port"
|
2021-02-22 05:55:26 -05:00
|
|
|
schema:
|
|
|
|
type: int
|
2021-03-03 10:51:25 -05:00
|
|
|
default: 3478
|
2021-03-05 16:31:02 -05:00
|
|
|
editable: false
|
|
|
|
hidden: true
|
2021-02-22 05:55:26 -05:00
|
|
|
- variable: nodePort
|
2021-03-03 10:51:25 -05:00
|
|
|
label: "(optional) host nodePort to expose to"
|
|
|
|
description: "only get used when nodePort is selected"
|
2021-02-22 05:55:26 -05:00
|
|
|
schema:
|
|
|
|
type: int
|
|
|
|
min: 9000
|
|
|
|
max: 65535
|
2021-03-03 10:51:25 -05:00
|
|
|
default: 36052
|
|
|
|
required: true
|
2021-02-10 05:09:33 -05:00
|
|
|
|
|
|
|
## TrueCharts Specific
|
|
|
|
|
|
|
|
- variable: appVolumeMounts
|
|
|
|
label: "app storage"
|
2021-03-06 15:32:31 -05:00
|
|
|
group: "Storage and Devices"
|
2021-02-10 05:09:33 -05:00
|
|
|
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
|
2021-02-23 12:21:54 -05:00
|
|
|
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
|
2021-03-12 11:18:46 -05:00
|
|
|
hidden: true
|
2021-02-10 05:09:33 -05:00
|
|
|
- variable: mountPath
|
|
|
|
label: "Mount Path"
|
|
|
|
description: "Path to mount inside the pod"
|
|
|
|
schema:
|
|
|
|
type: path
|
|
|
|
required: true
|
2021-03-03 10:51:25 -05:00
|
|
|
default: "/unifi"
|
2021-02-10 05:09:33 -05:00
|
|
|
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
|
|
|
|
|
|
|
|
|
2021-03-06 15:32:31 -05:00
|
|
|
- variable: additionalAppVolumeMounts
|
|
|
|
label: "Custom app storage"
|
|
|
|
group: "Storage and Devices"
|
|
|
|
schema:
|
|
|
|
type: list
|
|
|
|
default: []
|
|
|
|
items:
|
|
|
|
- variable: volumeMount
|
|
|
|
label: "Custom Storage"
|
|
|
|
schema:
|
|
|
|
type: dict
|
|
|
|
attrs:
|
|
|
|
- variable: enabled
|
|
|
|
label: "Enabled"
|
|
|
|
schema:
|
|
|
|
type: boolean
|
|
|
|
default: true
|
|
|
|
required: true
|
|
|
|
hidden: true
|
|
|
|
editable: false
|
|
|
|
- variable: setPermissions
|
|
|
|
label: "Automatic Permissions"
|
|
|
|
description: "Automatically set permissions on install"
|
|
|
|
schema:
|
|
|
|
type: boolean
|
|
|
|
default: true
|
|
|
|
hidden: false
|
|
|
|
- variable: name
|
|
|
|
label: "Mountpoint Name"
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
default: ""
|
|
|
|
required: true
|
|
|
|
editable: true
|
|
|
|
- variable: emptyDir
|
|
|
|
label: "emptyDir"
|
|
|
|
schema:
|
|
|
|
type: boolean
|
|
|
|
default: false
|
|
|
|
hidden: true
|
|
|
|
editable: false
|
|
|
|
- variable: mountPath
|
|
|
|
label: "Mount Path"
|
|
|
|
description: "Path to mount inside the pod"
|
|
|
|
schema:
|
|
|
|
type: path
|
|
|
|
required: true
|
|
|
|
default: ""
|
|
|
|
editable: true
|
|
|
|
- variable: hostPathEnabled
|
|
|
|
label: "host Path Enabled"
|
|
|
|
schema:
|
|
|
|
type: boolean
|
|
|
|
default: true
|
|
|
|
hidden: true
|
|
|
|
- variable: hostPath
|
|
|
|
label: "Host Path"
|
|
|
|
schema:
|
|
|
|
type: hostpath
|
|
|
|
required: true
|
|
|
|
|
2021-03-05 16:31:02 -05:00
|
|
|
- variable: ingress
|
2021-02-10 05:09:33 -05:00
|
|
|
label: ""
|
2021-03-05 16:31:02 -05:00
|
|
|
group: "Reverse Proxy Configuration"
|
2021-02-10 05:09:33 -05:00
|
|
|
schema:
|
|
|
|
type: dict
|
|
|
|
attrs:
|
2021-03-05 16:31:02 -05:00
|
|
|
- variable: main
|
2021-03-03 10:51:25 -05:00
|
|
|
label: "Web Ingress Configuration"
|
2021-02-10 05:09:33 -05:00
|
|
|
schema:
|
|
|
|
type: dict
|
|
|
|
attrs:
|
|
|
|
- variable: enabled
|
2021-03-05 16:31:02 -05:00
|
|
|
label: "Enable Web Reverse Proxy"
|
2021-02-10 05:09:33 -05:00
|
|
|
schema:
|
|
|
|
type: boolean
|
|
|
|
default: false
|
|
|
|
show_subquestions_if: true
|
|
|
|
subquestions:
|
2021-03-05 16:31:02 -05:00
|
|
|
- variable: type
|
|
|
|
label: "Reverse Proxy Type"
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
default: "HTTP"
|
|
|
|
hidden: true
|
|
|
|
editable: false
|
|
|
|
required: true
|
|
|
|
- variable: serviceName
|
|
|
|
label: "Service name to proxy to"
|
|
|
|
schema:
|
|
|
|
hidden: true
|
|
|
|
editable: false
|
|
|
|
type: string
|
|
|
|
default: ""
|
2021-02-10 05:09:33 -05:00
|
|
|
- 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
|
2021-03-12 10:56:04 -05:00
|
|
|
- variable: path
|
|
|
|
label: "path"
|
2021-02-10 05:09:33 -05:00
|
|
|
schema:
|
2021-03-12 10:56:04 -05:00
|
|
|
type: string
|
|
|
|
required: true
|
|
|
|
hidden: true
|
|
|
|
default: "/"
|
2021-02-10 05:09:33 -05:00
|
|
|
- variable: certType
|
|
|
|
label: "Select Certificate Type"
|
|
|
|
schema:
|
|
|
|
type: string
|
2021-03-05 16:31:02 -05:00
|
|
|
default: "selfsigned"
|
2021-02-10 05:09:33 -05:00
|
|
|
enum:
|
|
|
|
- value: ""
|
|
|
|
description: "No Encryption/TLS/Certificates"
|
|
|
|
- value: "selfsigned"
|
|
|
|
description: "Self-Signed Certificate"
|
2021-03-05 16:31:02 -05:00
|
|
|
- value: "ixcert"
|
|
|
|
description: "TrueNAS SCALE Certificate"
|
|
|
|
- variable: certificate
|
|
|
|
label: "Select TrueNAS SCALE Certificate"
|
|
|
|
schema:
|
|
|
|
type: int
|
|
|
|
show_if: [["certType", "=", "ixcert"]]
|
|
|
|
$ref:
|
|
|
|
- "definitions/certificate"
|
2021-02-10 05:09:33 -05:00
|
|
|
- variable: authForwardURL
|
|
|
|
label: "Forward Authentication URL"
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
default: ""
|
|
|
|
- variable: tcp
|
2021-03-03 10:51:25 -05:00
|
|
|
label: "TCP Ingress Configuration"
|
2021-02-10 05:09:33 -05:00
|
|
|
schema:
|
|
|
|
type: dict
|
|
|
|
attrs:
|
|
|
|
- variable: enabled
|
2021-03-03 10:51:25 -05:00
|
|
|
label: "Enable TCP Ingress"
|
2021-02-10 05:09:33 -05:00
|
|
|
schema:
|
|
|
|
type: boolean
|
|
|
|
default: false
|
|
|
|
show_subquestions_if: true
|
|
|
|
subquestions:
|
|
|
|
- variable: type
|
2021-03-03 10:51:25 -05:00
|
|
|
label: "Select Ingress Type"
|
2021-02-10 05:09:33 -05:00
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
default: "TCP"
|
|
|
|
required: true
|
|
|
|
editable: false
|
2021-03-05 16:31:02 -05:00
|
|
|
hidden: true
|
2021-02-10 05:09:33 -05:00
|
|
|
- variable: entrypoint
|
|
|
|
label: "Select Entrypoint"
|
|
|
|
schema:
|
|
|
|
type: string
|
2021-03-03 10:51:25 -05:00
|
|
|
default: "unificom"
|
2021-02-10 05:09:33 -05:00
|
|
|
required: true
|
|
|
|
enum:
|
2021-03-03 10:51:25 -05:00
|
|
|
- value: "unificom"
|
|
|
|
description: "Unifi Communications TCP: port 8080"
|
2021-02-10 05:09:33 -05:00
|
|
|
- variable: udp
|
2021-03-03 10:51:25 -05:00
|
|
|
label: "UDP Ingress Configuration"
|
2021-02-10 05:09:33 -05:00
|
|
|
schema:
|
|
|
|
type: dict
|
|
|
|
attrs:
|
|
|
|
- variable: enabled
|
2021-03-03 10:51:25 -05:00
|
|
|
label: "Enable UDP Ingress"
|
2021-02-10 05:09:33 -05:00
|
|
|
schema:
|
|
|
|
type: boolean
|
|
|
|
default: false
|
|
|
|
show_subquestions_if: true
|
|
|
|
subquestions:
|
|
|
|
- variable: type
|
2021-03-03 10:51:25 -05:00
|
|
|
label: "Select Ingress Type"
|
2021-02-10 05:09:33 -05:00
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
default: "UDP"
|
|
|
|
required: true
|
|
|
|
editable: false
|
2021-03-05 16:31:02 -05:00
|
|
|
hidden: true
|
2021-02-10 05:09:33 -05:00
|
|
|
- variable: entrypoint
|
|
|
|
label: "Select Entrypoint"
|
|
|
|
schema:
|
|
|
|
type: string
|
2021-03-03 10:51:25 -05:00
|
|
|
default: "stun-udp"
|
2021-02-10 05:09:33 -05:00
|
|
|
required: true
|
|
|
|
enum:
|
2021-03-03 10:51:25 -05:00
|
|
|
- value: "stun-udp"
|
|
|
|
description: "STUN UDP: port 3478"
|