73 lines
2.9 KiB
YAML
73 lines
2.9 KiB
YAML
- 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, Loadbalancer exposes the service using the system loadbalancer"
|
|
schema:
|
|
type: string
|
|
default: "Simple"
|
|
enum:
|
|
- value: "Simple"
|
|
description: "Simple"
|
|
- value: "ClusterIP"
|
|
description: "ClusterIP"
|
|
- value: "NodePort"
|
|
description: "NodePort (Advanced)"
|
|
- value: "LoadBalancer"
|
|
description: "LoadBalancer (Advanced)"
|
|
- variable: loadBalancerIP
|
|
label: "LoadBalancer IP"
|
|
description: "LoadBalancerIP"
|
|
schema:
|
|
show_if: [["type", "=", "LoadBalancer"]]
|
|
type: string
|
|
default: ""
|
|
- variable: externalIPs
|
|
label: "External IP's"
|
|
description: "External IP's"
|
|
schema:
|
|
show_if: [["type", "=", "LoadBalancer"]]
|
|
type: list
|
|
default: []
|
|
items:
|
|
- variable: externalIP
|
|
label: "External IP"
|
|
schema:
|
|
type: string
|
|
- variable: ipFamilyPolicy
|
|
label: "IP Family Policy"
|
|
description: "(Advanced) Specify the ip policy"
|
|
schema:
|
|
show_if: [["type", "!=", "Simple"]]
|
|
type: string
|
|
default: "SingleStack"
|
|
enum:
|
|
- value: "SingleStack"
|
|
description: "SingleStack"
|
|
- value: "PreferDualStack"
|
|
description: "PreferDualStack"
|
|
- value: "RequireDualStack"
|
|
description: "RequireDualStack"
|
|
- variable: ipFamilies
|
|
label: "(advanced) IP families"
|
|
description: "(advanced) The ip families that should be used"
|
|
schema:
|
|
show_if: [["type", "!=", "Simple"]]
|
|
type: list
|
|
default: []
|
|
items:
|
|
- variable: ipFamily
|
|
label: "IP family"
|
|
schema:
|
|
type: string
|
|
- variable: ports
|
|
label: "Service's Port(s) Configuration"
|
|
schema:
|
|
additional_attrs: true
|
|
type: dict
|
|
attrs:
|