2021-09-13 05:12:18 -04:00
|
|
|
- variable: serviceList
|
2022-08-08 17:25:02 -04:00
|
|
|
label: Add Manual Custom Services
|
|
|
|
group: Networking and Services
|
2021-09-13 05:12:18 -04:00
|
|
|
schema:
|
|
|
|
type: list
|
|
|
|
default: []
|
|
|
|
items:
|
|
|
|
- variable: serviceListEntry
|
2022-08-08 17:25:02 -04:00
|
|
|
label: Custom Service
|
2021-09-13 05:12:18 -04:00
|
|
|
schema:
|
2022-01-20 19:35:59 -05:00
|
|
|
additional_attrs: true
|
2021-09-13 05:12:18 -04:00
|
|
|
type: dict
|
|
|
|
attrs:
|
|
|
|
- variable: enabled
|
2022-08-08 17:25:02 -04:00
|
|
|
label: Enable the service
|
2021-09-13 05:12:18 -04:00
|
|
|
schema:
|
|
|
|
type: boolean
|
|
|
|
default: true
|
|
|
|
hidden: true
|
|
|
|
- variable: name
|
2022-08-08 17:25:02 -04:00
|
|
|
label: Name
|
2021-09-13 05:12:18 -04:00
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
default: ""
|
|
|
|
- variable: type
|
2022-08-08 17:25:02 -04:00
|
|
|
label: Service Type
|
2022-09-17 07:24:06 -04:00
|
|
|
description: "ClusterIP's are only internally available and Loadbalancer exposes the service using the system loadbalancer"
|
2021-09-13 05:12:18 -04:00
|
|
|
schema:
|
|
|
|
type: string
|
2022-09-17 07:24:06 -04:00
|
|
|
default: LoadBalancer
|
2021-09-13 05:12:18 -04:00
|
|
|
enum:
|
2022-08-08 17:25:02 -04:00
|
|
|
- value: LoadBalancer
|
2022-09-17 07:24:06 -04:00
|
|
|
description: LoadBalancer (Expose Ports)
|
|
|
|
- value: ClusterIP
|
|
|
|
description: ClusterIP (Do Not Expose Ports)
|
|
|
|
- value: Simple
|
|
|
|
description: Deprecated CHANGE THIS
|
2021-09-13 05:12:18 -04:00
|
|
|
- variable: loadBalancerIP
|
2022-08-08 17:25:02 -04:00
|
|
|
label: LoadBalancer IP
|
2022-09-17 07:24:06 -04:00
|
|
|
description: "MetalLB Only: Selects the Loadbalancer IP to expose on. Required when using PortalButton with MetalLB"
|
2021-09-13 05:12:18 -04:00
|
|
|
schema:
|
|
|
|
show_if: [["type", "=", "LoadBalancer"]]
|
|
|
|
type: string
|
|
|
|
default: ""
|
2022-09-17 07:24:06 -04:00
|
|
|
- variable: advancedsvcset
|
|
|
|
label: Show Advanced Service Settings
|
2021-09-13 05:12:18 -04:00
|
|
|
schema:
|
2022-09-17 07:24:06 -04:00
|
|
|
type: boolean
|
|
|
|
default: false
|
|
|
|
show_subquestions_if: true
|
|
|
|
subquestions:
|
|
|
|
- variable: externalIPs
|
|
|
|
label: "External IP's"
|
|
|
|
description: "External IP's"
|
|
|
|
schema:
|
|
|
|
type: list
|
|
|
|
default: []
|
|
|
|
items:
|
|
|
|
- variable: externalIP
|
|
|
|
label: External IP
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
- variable: ipFamilyPolicy
|
|
|
|
label: IP Family Policy
|
|
|
|
description: Specify the IP Policy
|
2021-09-13 05:12:18 -04:00
|
|
|
schema:
|
|
|
|
type: string
|
2022-09-17 07:24:06 -04:00
|
|
|
default: SingleStack
|
|
|
|
enum:
|
|
|
|
- value: SingleStack
|
|
|
|
description: SingleStack
|
|
|
|
- value: PreferDualStack
|
|
|
|
description: PreferDualStack
|
|
|
|
- value: RequireDualStack
|
|
|
|
description: RequireDualStack
|
|
|
|
- variable: ipFamilies
|
|
|
|
label: IP Families
|
|
|
|
description: (Advanced) The IP Families that should be used
|
|
|
|
schema:
|
|
|
|
type: list
|
|
|
|
default: []
|
|
|
|
items:
|
|
|
|
- variable: ipFamily
|
|
|
|
label: IP Family
|
|
|
|
schema:
|
|
|
|
type: string
|
2021-09-13 05:12:18 -04:00
|
|
|
- variable: portsList
|
2022-08-08 17:25:02 -04:00
|
|
|
label: Additional Service Ports
|
2021-09-13 05:12:18 -04:00
|
|
|
schema:
|
|
|
|
type: list
|
|
|
|
default: []
|
|
|
|
items:
|
|
|
|
- variable: portsListEntry
|
2022-08-08 17:25:02 -04:00
|
|
|
label: Custom ports
|
2021-09-13 05:12:18 -04:00
|
|
|
schema:
|
2022-01-20 19:35:59 -05:00
|
|
|
additional_attrs: true
|
2021-09-13 05:12:18 -04:00
|
|
|
type: dict
|
|
|
|
attrs:
|
|
|
|
- variable: enabled
|
2022-08-08 17:25:02 -04:00
|
|
|
label: Enable the Port
|
2021-09-13 05:12:18 -04:00
|
|
|
schema:
|
|
|
|
type: boolean
|
|
|
|
default: true
|
|
|
|
hidden: true
|
|
|
|
- variable: name
|
2022-08-08 17:25:02 -04:00
|
|
|
label: Port Name
|
2021-09-13 05:12:18 -04:00
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
default: ""
|
|
|
|
- variable: protocol
|
2022-08-08 17:25:02 -04:00
|
|
|
label: Port Type
|
2021-09-13 05:12:18 -04:00
|
|
|
schema:
|
|
|
|
type: string
|
2023-04-15 06:03:03 -04:00
|
|
|
default: tcp
|
2021-09-13 05:12:18 -04:00
|
|
|
enum:
|
2023-04-15 06:03:03 -04:00
|
|
|
- value: http
|
2022-08-08 17:25:02 -04:00
|
|
|
description: HTTP
|
2023-04-15 06:03:03 -04:00
|
|
|
- value: https
|
2022-08-08 17:25:02 -04:00
|
|
|
description: HTTPS
|
2023-04-15 06:03:03 -04:00
|
|
|
- value: tcp
|
2022-08-08 17:25:02 -04:00
|
|
|
description: TCP
|
2023-04-15 06:03:03 -04:00
|
|
|
- value: udp
|
2022-08-08 17:25:02 -04:00
|
|
|
description: UDP
|
2021-09-13 05:12:18 -04:00
|
|
|
- variable: targetPort
|
2022-08-08 17:25:02 -04:00
|
|
|
label: Target Port
|
|
|
|
description: This port exposes the container port on the service
|
2021-09-13 05:12:18 -04:00
|
|
|
schema:
|
|
|
|
type: int
|
|
|
|
required: true
|
|
|
|
- variable: port
|
2022-08-08 17:25:02 -04:00
|
|
|
label: Container Port
|
2021-09-13 05:12:18 -04:00
|
|
|
schema:
|
|
|
|
type: int
|
|
|
|
required: true
|