2021-09-13 10:58:34 +00:00
|
|
|
# Include{groups}
|
2021-08-23 20:24:58 +00:00
|
|
|
portals:
|
|
|
|
web_portal:
|
|
|
|
protocols:
|
|
|
|
- "$kubernetes-resource_configmap_portal_protocol"
|
|
|
|
host:
|
|
|
|
- "$kubernetes-resource_configmap_portal_host"
|
|
|
|
ports:
|
|
|
|
- "$kubernetes-resource_configmap_portal_port"
|
|
|
|
questions:
|
|
|
|
- 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-10-20 17:39:05 +00:00
|
|
|
# Include{global}
|
2021-08-23 20:24:58 +00:00
|
|
|
- variable: service
|
|
|
|
group: "Networking and Services"
|
|
|
|
label: "Configure Service(s)"
|
|
|
|
schema:
|
|
|
|
type: dict
|
|
|
|
attrs:
|
|
|
|
- variable: main
|
|
|
|
label: "Main Service"
|
|
|
|
description: "The Primary service on which the healthcheck runs, often the webUI"
|
|
|
|
schema:
|
|
|
|
type: dict
|
|
|
|
attrs:
|
|
|
|
- variable: enabled
|
|
|
|
label: "Enable the service"
|
|
|
|
schema:
|
|
|
|
type: boolean
|
|
|
|
default: true
|
|
|
|
hidden: true
|
|
|
|
- variable: type
|
|
|
|
label: "Service Type"
|
|
|
|
description: "ExternalIP gets connected to using an IP and port, ExternalName gets connected to using a domain name"
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
default: "ExternalIP"
|
|
|
|
enum:
|
|
|
|
- value: "ExternalName"
|
|
|
|
description: "ExternalName"
|
|
|
|
- value: "ExternalIP"
|
|
|
|
description: "ExternalIP"
|
2021-08-24 21:28:15 +00:00
|
|
|
- variable: externalName
|
2021-08-23 20:24:58 +00:00
|
|
|
label: "External Service Domainname"
|
|
|
|
description: "Domainname of External service"
|
|
|
|
schema:
|
|
|
|
show_if: [["type", "=", "ExternalName"]]
|
|
|
|
type: string
|
2021-08-24 21:28:15 +00:00
|
|
|
default: "google.com"
|
2021-08-23 20:24:58 +00:00
|
|
|
- variable: externalIP
|
|
|
|
label: "External Service IP"
|
|
|
|
description: "IP of External service"
|
|
|
|
schema:
|
|
|
|
show_if: [["type", "=", "ExternalIP"]]
|
|
|
|
type: string
|
|
|
|
default: "1.1.1.1"
|
|
|
|
- variable: ports
|
|
|
|
label: "Service's Port(s) Configuration"
|
|
|
|
schema:
|
|
|
|
type: dict
|
|
|
|
attrs:
|
|
|
|
- variable: main
|
|
|
|
label: "Main Service Port Configuration"
|
|
|
|
schema:
|
|
|
|
type: dict
|
|
|
|
attrs:
|
|
|
|
- variable: enabled
|
|
|
|
label: "Enable the port"
|
|
|
|
schema:
|
|
|
|
type: boolean
|
|
|
|
default: true
|
|
|
|
hidden: true
|
|
|
|
- variable: protocol
|
|
|
|
label: "Port Type"
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
default: "HTTP"
|
|
|
|
enum:
|
|
|
|
- value: HTTP
|
|
|
|
description: "HTTP"
|
|
|
|
- value: "HTTPS"
|
|
|
|
description: "HTTPS"
|
|
|
|
- value: TCP
|
|
|
|
description: "TCP"
|
|
|
|
- value: "UDP"
|
|
|
|
description: "UDP"
|
|
|
|
- variable: port
|
2021-08-24 13:51:03 +00:00
|
|
|
label: "Service Port"
|
|
|
|
description: "Both the external service port and internal service port will be the same"
|
2021-08-23 20:24:58 +00:00
|
|
|
schema:
|
|
|
|
type: int
|
2021-11-28 09:26:31 +00:00
|
|
|
default: 10003
|
2021-08-23 20:24:58 +00:00
|
|
|
|
|
|
|
- variable: ingress
|
|
|
|
label: ""
|
|
|
|
group: "Ingress"
|
|
|
|
schema:
|
|
|
|
type: dict
|
|
|
|
attrs:
|
|
|
|
- variable: main
|
|
|
|
label: "Main Ingress"
|
|
|
|
schema:
|
|
|
|
type: dict
|
|
|
|
attrs:
|
|
|
|
- variable: enabled
|
|
|
|
label: "Enable Ingress"
|
|
|
|
schema:
|
|
|
|
type: boolean
|
|
|
|
default: false
|
|
|
|
show_subquestions_if: true
|
|
|
|
subquestions:
|
2021-08-28 10:30:33 +00:00
|
|
|
- variable: annotations
|
|
|
|
label: "annoations"
|
|
|
|
schema:
|
|
|
|
type: dict
|
|
|
|
hidden: true
|
|
|
|
attrs:
|
|
|
|
- variable: traefik.frontend.passHostHeader
|
|
|
|
label: "passHostHeader"
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
default: "false"
|
|
|
|
hidden: true
|
2021-08-23 20:24:58 +00:00
|
|
|
- variable: hosts
|
|
|
|
label: "Hosts"
|
|
|
|
schema:
|
|
|
|
type: list
|
|
|
|
default: []
|
|
|
|
items:
|
|
|
|
- variable: hostEntry
|
|
|
|
label: "Host"
|
|
|
|
schema:
|
|
|
|
type: dict
|
|
|
|
attrs:
|
|
|
|
- variable: host
|
|
|
|
label: "HostName"
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
default: ""
|
|
|
|
required: true
|
|
|
|
- variable: paths
|
|
|
|
label: "Paths"
|
|
|
|
schema:
|
|
|
|
type: list
|
|
|
|
default: []
|
|
|
|
items:
|
|
|
|
- variable: pathEntry
|
|
|
|
label: "Host"
|
|
|
|
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: tls
|
|
|
|
label: "TLS-Settings"
|
|
|
|
schema:
|
|
|
|
type: list
|
|
|
|
default: []
|
|
|
|
items:
|
|
|
|
- variable: tlsEntry
|
|
|
|
label: "Host"
|
|
|
|
schema:
|
|
|
|
type: dict
|
|
|
|
attrs:
|
|
|
|
- variable: hosts
|
|
|
|
label: "Certificate Hosts"
|
|
|
|
schema:
|
|
|
|
type: list
|
|
|
|
default: []
|
|
|
|
items:
|
|
|
|
- variable: host
|
|
|
|
label: "Host"
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
default: ""
|
|
|
|
required: true
|
|
|
|
- variable: scaleCert
|
|
|
|
label: "Select TrueNAS SCALE Certificate"
|
|
|
|
schema:
|
|
|
|
type: int
|
|
|
|
$ref:
|
|
|
|
- "definitions/certificate"
|
|
|
|
- variable: entrypoint
|
2021-09-13 16:49:14 +00:00
|
|
|
label: "(Advanced) Traefik Entrypoint"
|
2021-08-23 20:24:58 +00:00
|
|
|
description: "Entrypoint used by Traefik when using Traefik as Ingress Provider"
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
default: "websecure"
|
|
|
|
required: true
|
|
|
|
- variable: middlewares
|
|
|
|
label: "Traefik Middlewares"
|
|
|
|
description: "Add previously created Traefik Middlewares to this Ingress"
|
|
|
|
schema:
|
|
|
|
type: list
|
|
|
|
default: []
|
|
|
|
items:
|
|
|
|
- variable: name
|
|
|
|
label: "Name"
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
default: ""
|
|
|
|
required: true
|
2021-08-30 13:58:30 +00:00
|
|
|
|
2021-09-13 16:49:14 +00:00
|
|
|
- variable: expert
|
|
|
|
label: "Show Expert Configuration Options"
|
2021-08-30 13:58:30 +00:00
|
|
|
schema:
|
|
|
|
type: boolean
|
2021-09-13 16:49:14 +00:00
|
|
|
default: false
|
|
|
|
show_subquestions_if: true
|
|
|
|
subquestions:
|
2021-10-04 22:39:13 +00:00
|
|
|
- variable: enableFixedMiddlewares
|
|
|
|
description: "These middlewares enforce a number of best practices."
|
|
|
|
label: "Enable Default Middlewares"
|
|
|
|
schema:
|
|
|
|
type: boolean
|
|
|
|
default: true
|
2021-09-13 16:49:14 +00:00
|
|
|
- variable: ingressClassName
|
|
|
|
label: "IngressClass Name"
|
2021-08-30 13:58:30 +00:00
|
|
|
schema:
|
2021-09-13 16:49:14 +00:00
|
|
|
type: string
|
|
|
|
default: ""
|
|
|
|
- variable: labelsList
|
|
|
|
label: "Labels"
|
2021-08-30 13:58:30 +00:00
|
|
|
schema:
|
2021-09-13 16:49:14 +00:00
|
|
|
type: list
|
|
|
|
default: []
|
|
|
|
items:
|
|
|
|
- variable: labelItem
|
|
|
|
label: "Label"
|
2021-08-30 13:58:30 +00:00
|
|
|
schema:
|
2021-09-13 16:49:14 +00:00
|
|
|
type: dict
|
|
|
|
attrs:
|
|
|
|
- variable: name
|
|
|
|
label: "Name"
|
2021-08-30 13:58:30 +00:00
|
|
|
schema:
|
2021-09-13 16:49:14 +00:00
|
|
|
type: string
|
|
|
|
- variable: value
|
|
|
|
label: "Value"
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
- variable: annotationsList
|
|
|
|
label: "Annotations"
|
2021-08-30 13:58:30 +00:00
|
|
|
schema:
|
2021-09-13 16:49:14 +00:00
|
|
|
type: list
|
|
|
|
default: []
|
|
|
|
items:
|
|
|
|
- variable: annotationItem
|
|
|
|
label: "Label"
|
2021-08-30 13:58:30 +00:00
|
|
|
schema:
|
2021-09-13 16:49:14 +00:00
|
|
|
type: dict
|
|
|
|
attrs:
|
|
|
|
- variable: name
|
|
|
|
label: "Name"
|
2021-08-30 13:58:30 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
2021-09-13 16:49:14 +00:00
|
|
|
- variable: value
|
|
|
|
label: "Value"
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
|
|
|
|
# Include{ingressList}
|