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:
|
2023-12-25 21:10:09 +00:00
|
|
|
# Include{ingressDefault}
|
2023-05-28 10:32:51 +00:00
|
|
|
# Include{ingressAdvanced}
|
2022-11-11 18:09:57 +00:00
|
|
|
# Include{ingressList}
|