feat(common): Add simple servicetype as a LoadBalancer Alias (#1284)
* feat(common): Add simple servicetype as a LoadBalancer Alias * add serviceList UI tweak * Fix typo * bump * move servicetype selection code to include * Clearly flag NodePort and LoadBalancer as advanced As NodePort does require advanced settings to be checked now
This commit is contained in:
@@ -28,6 +28,8 @@
|
||||
type: string
|
||||
default: "NodePort"
|
||||
enum:
|
||||
- value: "Simple"
|
||||
description: "Simple"
|
||||
- value: "NodePort"
|
||||
description: "NodePort"
|
||||
- value: "ClusterIP"
|
||||
|
||||
@@ -0,0 +1,45 @@
|
||||
- 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: "NodePort"
|
||||
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: ports
|
||||
label: "Service's Port(s) Configuration"
|
||||
schema:
|
||||
type: dict
|
||||
attrs:
|
||||
Reference in New Issue
Block a user