chore(apps): combine some ports (#3096)

* chore(apps): combine some ports

* lints

* move `protocol` under `ports` rather under `service`

* bump cloudd
This commit is contained in:
Stavros Kois
2022-07-09 21:29:01 +02:00
committed by GitHub
parent 041c926ec3
commit 8fcda955e2
54 changed files with 170 additions and 373 deletions
+50 -60
View File
@@ -140,66 +140,9 @@ questions:
default: 8888
- variable: bt-udp
label: "bt-udp Service"
description: "The bt-udp service"
schema:
additional_attrs: true
type: dict
attrs:
# Include{serviceSelector}
- variable: bt-udp
label: "bt-udp Service Port Configuration"
schema:
additional_attrs: true
type: dict
attrs:
- variable: port
label: "Port"
description: "This port exposes the container port on the service"
schema:
type: int
default: 55555
required: true
- variable: advanced
label: "Show Advanced settings"
schema:
type: boolean
default: false
show_subquestions_if: true
subquestions:
- variable: protocol
label: "Port Type"
schema:
type: string
default: "UDP"
enum:
- value: HTTP
description: "HTTP"
- value: "HTTPS"
description: "HTTPS"
- value: TCP
description: "TCP"
- value: "UDP"
description: "UDP"
- variable: nodePort
label: "Node Port (Optional)"
description: "This port gets exposed to the node. Only considered when service type is NodePort, Simple or LoadBalancer"
schema:
type: int
min: 9000
max: 65535
- variable: targetPort
label: "Target Port"
description: "The internal(!) port on the container the Application runs on"
schema:
type: int
default: 55555
- variable: bt-tcp
label: "bt-tcp Service"
description: "The bt-tcp service"
- variable: bt
label: "bt Service"
description: "The bt service"
schema:
additional_attrs: true
type: dict
@@ -252,6 +195,53 @@ questions:
schema:
type: int
default: 55555
- variable: bt-udp
label: "bt-udp Service Port Configuration"
schema:
additional_attrs: true
type: dict
attrs:
- variable: port
label: "Port"
description: "This port exposes the container port on the service"
schema:
type: int
default: 55555
required: true
- variable: advanced
label: "Show Advanced settings"
schema:
type: boolean
default: false
show_subquestions_if: true
subquestions:
- variable: protocol
label: "Port Type"
schema:
type: string
default: "UDP"
enum:
- value: HTTP
description: "HTTP"
- value: "HTTPS"
description: "HTTPS"
- value: TCP
description: "TCP"
- value: "UDP"
description: "UDP"
- variable: nodePort
label: "Node Port (Optional)"
description: "This port gets exposed to the node. Only considered when service type is NodePort, Simple or LoadBalancer"
schema:
type: int
min: 9000
max: 65535
- variable: targetPort
label: "Target Port"
description: "The internal(!) port on the container the Application runs on"
schema:
type: int
default: 55555
- variable: serviceexpert
group: "Networking and Services"