2021-09-13 10:58:34 +00:00
|
|
|
# Include{groups}
|
2021-08-23 20:24:58 +00:00
|
|
|
portals:
|
2022-02-24 18:15:06 +00:00
|
|
|
open:
|
2022-08-08 21:25:02 +00:00
|
|
|
# Include{portalLink}
|
2021-08-23 20:24:58 +00:00
|
|
|
questions:
|
2021-10-20 17:39:05 +00:00
|
|
|
# Include{global}
|
2022-08-08 21:25:02 +00:00
|
|
|
# Include{serviceRoot}
|
2023-04-11 10:07:17 +00:00
|
|
|
# Include{serviceMain}
|
|
|
|
- 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"
|
|
|
|
- variable: externalName
|
|
|
|
label: "External Service Domainname"
|
|
|
|
description: "Domainname of External service"
|
|
|
|
schema:
|
|
|
|
show_if: [["type", "=", "ExternalName"]]
|
|
|
|
type: string
|
|
|
|
default: "google.com"
|
|
|
|
- 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:
|
|
|
|
additional_attrs: true
|
|
|
|
type: dict
|
|
|
|
attrs:
|
|
|
|
- variable: main
|
|
|
|
label: "Main Service Port Configuration"
|
|
|
|
schema:
|
|
|
|
additional_attrs: true
|
|
|
|
type: dict
|
|
|
|
attrs:
|
|
|
|
- variable: enabled
|
|
|
|
label: "Enable the port"
|
|
|
|
schema:
|
|
|
|
type: boolean
|
|
|
|
default: true
|
|
|
|
hidden: true
|
|
|
|
- variable: protocol
|
|
|
|
label: "Port Type"
|
|
|
|
schema:
|
|
|
|
type: string
|
2023-04-11 15:28:36 +00:00
|
|
|
default: "http"
|
2023-04-11 10:07:17 +00:00
|
|
|
enum:
|
2023-04-11 15:28:36 +00:00
|
|
|
- value: "http"
|
2023-04-11 10:07:17 +00:00
|
|
|
description: "HTTP"
|
2023-04-11 15:28:36 +00:00
|
|
|
- value: "https"
|
2023-04-11 10:07:17 +00:00
|
|
|
description: "HTTPS"
|
2023-04-11 15:28:36 +00:00
|
|
|
- value: tcp
|
2023-04-11 10:07:17 +00:00
|
|
|
description: "TCP"
|
2023-04-11 15:28:36 +00:00
|
|
|
- value: "udp"
|
2023-04-11 10:07:17 +00:00
|
|
|
description: "UDP"
|
|
|
|
- variable: port
|
|
|
|
label: "Service Port"
|
|
|
|
description: "Both the external service port and internal service port will be the same"
|
|
|
|
schema:
|
|
|
|
type: int
|
|
|
|
default: 10003
|
2022-08-08 21:25:02 +00:00
|
|
|
# Include{ingressRoot}
|
2021-08-23 20:24:58 +00:00
|
|
|
- variable: main
|
|
|
|
label: "Main Ingress"
|
|
|
|
schema:
|
2022-01-21 00:35:59 +00:00
|
|
|
additional_attrs: true
|
2021-08-23 20:24:58 +00:00
|
|
|
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
|
2023-06-13 08:01:12 +00:00
|
|
|
label: "annotations"
|
2021-08-28 10:30:33 +00:00
|
|
|
schema:
|
2023-06-13 08:01:12 +00:00
|
|
|
additional_attrs: true
|
2021-08-28 10:30:33 +00:00
|
|
|
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:
|
2022-01-21 00:35:59 +00:00
|
|
|
additional_attrs: true
|
2021-08-23 20:24:58 +00:00
|
|
|
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:
|
2022-01-21 00:35:59 +00:00
|
|
|
additional_attrs: true
|
2021-08-23 20:24:58 +00:00
|
|
|
type: dict
|
|
|
|
attrs:
|
|
|
|
- variable: path
|
|
|
|
label: "path"
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
required: true
|
|
|
|
default: "/"
|
|
|
|
- variable: pathType
|
|
|
|
label: "pathType"
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
required: true
|
|
|
|
default: "Prefix"
|
2022-03-22 20:35:44 +00:00
|
|
|
# Include{ingressTLS}
|
|
|
|
# Include{ingressTraefik}
|
2023-05-28 10:32:51 +00:00
|
|
|
# Include{ingressAdvanced}
|
2022-11-11 18:09:57 +00:00
|
|
|
# Include{ingressList}
|