2021-10-04 11:46:38 +00:00
|
|
|
- variable: autoscaling
|
|
|
|
group: "Advanced"
|
|
|
|
label: "(Advanced) Horizontal Pod Autoscaler"
|
|
|
|
schema:
|
2022-01-21 00:35:59 +00:00
|
|
|
additional_attrs: true
|
2021-10-04 11:46:38 +00:00
|
|
|
type: dict
|
|
|
|
attrs:
|
|
|
|
- variable: enabled
|
|
|
|
label: "enabled"
|
|
|
|
schema:
|
|
|
|
type: boolean
|
|
|
|
default: false
|
|
|
|
show_subquestions_if: true
|
|
|
|
subquestions:
|
|
|
|
- variable: target
|
|
|
|
label: "Target"
|
|
|
|
description: "deployment name, defaults to main deployment"
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
default: ""
|
|
|
|
- variable: minReplicas
|
|
|
|
label: "Minimum Replicas"
|
|
|
|
schema:
|
|
|
|
type: int
|
|
|
|
default: 1
|
|
|
|
- variable: maxReplicas
|
|
|
|
label: "Maximum Replicas"
|
|
|
|
schema:
|
|
|
|
type: int
|
|
|
|
default: 5
|
|
|
|
- variable: targetCPUUtilizationPercentage
|
|
|
|
label: "Target CPU Utilization Percentage"
|
|
|
|
schema:
|
|
|
|
type: int
|
|
|
|
default: 80
|
|
|
|
- variable: targetMemoryUtilizationPercentage
|
|
|
|
label: "Target Memory Utilization Percentage"
|
|
|
|
schema:
|
|
|
|
type: int
|
|
|
|
default: 80
|
2022-01-13 14:05:23 +00:00
|
|
|
- variable: networkPolicy
|
|
|
|
group: "Advanced"
|
|
|
|
label: "(Advanced) Network Policy"
|
|
|
|
schema:
|
2022-01-21 00:35:59 +00:00
|
|
|
additional_attrs: true
|
2022-01-13 14:05:23 +00:00
|
|
|
type: dict
|
|
|
|
attrs:
|
|
|
|
- variable: enabled
|
|
|
|
label: "enabled"
|
|
|
|
schema:
|
|
|
|
type: boolean
|
|
|
|
default: false
|
|
|
|
show_subquestions_if: true
|
|
|
|
subquestions:
|
|
|
|
- variable: policyType
|
|
|
|
label: "Policy Type"
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
default: ""
|
|
|
|
enum:
|
|
|
|
- value: ""
|
|
|
|
description: "Default"
|
|
|
|
- value: "ingress"
|
|
|
|
description: "Ingress"
|
|
|
|
- value: "egress"
|
|
|
|
description: "Egress"
|
|
|
|
- value: "ingress-egress"
|
|
|
|
description: "Ingress and Egress"
|
|
|
|
- variable: egress
|
|
|
|
label: "Egress"
|
|
|
|
schema:
|
|
|
|
type: list
|
|
|
|
default: []
|
|
|
|
items:
|
|
|
|
- variable: egressEntry
|
|
|
|
label: ""
|
|
|
|
schema:
|
2022-01-21 00:35:59 +00:00
|
|
|
additional_attrs: true
|
2022-01-13 14:05:23 +00:00
|
|
|
type: dict
|
|
|
|
attrs:
|
|
|
|
- variable: to
|
|
|
|
label: "To"
|
|
|
|
schema:
|
|
|
|
type: list
|
|
|
|
default: []
|
|
|
|
items:
|
|
|
|
- variable: toEntry
|
|
|
|
label: ""
|
|
|
|
schema:
|
2022-01-21 00:35:59 +00:00
|
|
|
additional_attrs: true
|
2022-01-13 14:05:23 +00:00
|
|
|
type: dict
|
|
|
|
attrs:
|
|
|
|
- variable: ipBlock
|
|
|
|
label: "ipBlock"
|
|
|
|
schema:
|
2022-01-21 00:35:59 +00:00
|
|
|
additional_attrs: true
|
2022-01-13 14:05:23 +00:00
|
|
|
type: dict
|
|
|
|
attrs:
|
|
|
|
- variable: cidr
|
|
|
|
label: "cidr"
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
default: ""
|
2022-01-13 14:58:28 +00:00
|
|
|
- variable: except
|
|
|
|
label: "except"
|
|
|
|
schema:
|
|
|
|
type: list
|
|
|
|
default: []
|
|
|
|
items:
|
|
|
|
- variable: exceptint
|
|
|
|
label: ""
|
2022-01-13 14:05:23 +00:00
|
|
|
schema:
|
2022-04-28 20:00:02 +00:00
|
|
|
type: string
|
2022-01-13 14:05:23 +00:00
|
|
|
- variable: namespaceSelector
|
|
|
|
label: "namespaceSelector"
|
|
|
|
schema:
|
2022-01-21 00:35:59 +00:00
|
|
|
additional_attrs: true
|
2022-01-13 14:05:23 +00:00
|
|
|
type: dict
|
|
|
|
attrs:
|
|
|
|
- variable: matchExpressions
|
|
|
|
label: "matchExpressions"
|
|
|
|
schema:
|
|
|
|
type: list
|
|
|
|
default: []
|
|
|
|
items:
|
|
|
|
- variable: expressionEntry
|
|
|
|
label: ""
|
|
|
|
schema:
|
2022-01-21 00:35:59 +00:00
|
|
|
additional_attrs: true
|
2022-01-13 14:05:23 +00:00
|
|
|
type: dict
|
|
|
|
attrs:
|
|
|
|
- variable: key
|
|
|
|
label: "Key"
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
- variable: operator
|
|
|
|
label: "operator"
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
default: "TCP"
|
|
|
|
enum:
|
|
|
|
- value: "In"
|
|
|
|
description: "In"
|
|
|
|
- value: "NotIn"
|
|
|
|
description: "NotIn"
|
|
|
|
- value: "Exists "
|
|
|
|
description: "Exists "
|
|
|
|
- value: "DoesNotExist "
|
|
|
|
description: "DoesNotExist "
|
|
|
|
- variable: values
|
|
|
|
label: "values"
|
|
|
|
schema:
|
|
|
|
type: list
|
|
|
|
default: []
|
|
|
|
items:
|
|
|
|
- variable: value
|
|
|
|
label: ""
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
- variable: podSelector
|
|
|
|
label: ""
|
|
|
|
schema:
|
2022-01-21 00:35:59 +00:00
|
|
|
additional_attrs: true
|
2022-01-13 14:05:23 +00:00
|
|
|
type: dict
|
|
|
|
attrs:
|
|
|
|
- variable: matchExpressions
|
|
|
|
label: "matchExpressions"
|
|
|
|
schema:
|
|
|
|
type: list
|
|
|
|
default: []
|
|
|
|
items:
|
|
|
|
- variable: expressionEntry
|
|
|
|
label: ""
|
|
|
|
schema:
|
2022-01-21 00:35:59 +00:00
|
|
|
additional_attrs: true
|
2022-01-13 14:05:23 +00:00
|
|
|
type: dict
|
|
|
|
attrs:
|
|
|
|
- variable: key
|
|
|
|
label: "Key"
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
- variable: operator
|
|
|
|
label: "operator"
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
default: "TCP"
|
|
|
|
enum:
|
|
|
|
- value: "In"
|
|
|
|
description: "In"
|
|
|
|
- value: "NotIn"
|
|
|
|
description: "NotIn"
|
|
|
|
- value: "Exists "
|
|
|
|
description: "Exists "
|
|
|
|
- value: "DoesNotExist "
|
|
|
|
description: "DoesNotExist "
|
|
|
|
- variable: values
|
|
|
|
label: "values"
|
|
|
|
schema:
|
|
|
|
type: list
|
|
|
|
default: []
|
|
|
|
items:
|
|
|
|
- variable: value
|
|
|
|
label: ""
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
- variable: ports
|
|
|
|
label: "Ports"
|
|
|
|
schema:
|
|
|
|
type: list
|
|
|
|
default: []
|
|
|
|
items:
|
|
|
|
- variable: portsEntry
|
|
|
|
label: ""
|
|
|
|
schema:
|
2022-01-21 00:35:59 +00:00
|
|
|
additional_attrs: true
|
2022-01-13 14:05:23 +00:00
|
|
|
type: dict
|
|
|
|
attrs:
|
|
|
|
- variable: port
|
|
|
|
label: "port"
|
|
|
|
schema:
|
|
|
|
type: int
|
|
|
|
- variable: endPort
|
|
|
|
label: "port"
|
|
|
|
schema:
|
|
|
|
type: int
|
|
|
|
- variable: protocol
|
|
|
|
label: "Protocol"
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
default: "TCP"
|
|
|
|
enum:
|
|
|
|
- value: "TCP"
|
|
|
|
description: "TCP"
|
|
|
|
- value: "UDP"
|
|
|
|
description: "UDP"
|
|
|
|
- value: "SCTP"
|
|
|
|
description: "SCTP"
|
|
|
|
- variable: ingress
|
|
|
|
label: "Ingress"
|
|
|
|
schema:
|
|
|
|
type: list
|
|
|
|
default: []
|
|
|
|
items:
|
|
|
|
- variable: ingressEntry
|
|
|
|
label: ""
|
|
|
|
schema:
|
2022-01-21 00:35:59 +00:00
|
|
|
additional_attrs: true
|
2022-01-13 14:05:23 +00:00
|
|
|
type: dict
|
|
|
|
attrs:
|
|
|
|
- variable: from
|
|
|
|
label: "From"
|
|
|
|
schema:
|
|
|
|
type: list
|
|
|
|
default: []
|
|
|
|
items:
|
|
|
|
- variable: fromEntry
|
|
|
|
label: ""
|
|
|
|
schema:
|
2022-01-21 00:35:59 +00:00
|
|
|
additional_attrs: true
|
2022-01-13 14:05:23 +00:00
|
|
|
type: dict
|
|
|
|
attrs:
|
|
|
|
- variable: ipBlock
|
|
|
|
label: "ipBlock"
|
|
|
|
schema:
|
2022-01-21 00:35:59 +00:00
|
|
|
additional_attrs: true
|
2022-01-13 14:05:23 +00:00
|
|
|
type: dict
|
|
|
|
attrs:
|
|
|
|
- variable: cidr
|
|
|
|
label: "cidr"
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
default: ""
|
2022-01-13 14:58:28 +00:00
|
|
|
- variable: except
|
|
|
|
label: "except"
|
|
|
|
schema:
|
|
|
|
type: list
|
|
|
|
default: []
|
|
|
|
items:
|
|
|
|
- variable: exceptint
|
|
|
|
label: ""
|
2022-01-13 14:05:23 +00:00
|
|
|
schema:
|
2022-04-29 05:55:05 +00:00
|
|
|
type: string
|
2022-01-13 14:05:23 +00:00
|
|
|
- variable: namespaceSelector
|
|
|
|
label: "namespaceSelector"
|
|
|
|
schema:
|
2022-01-21 00:35:59 +00:00
|
|
|
additional_attrs: true
|
2022-01-13 14:05:23 +00:00
|
|
|
type: dict
|
|
|
|
attrs:
|
|
|
|
- variable: matchExpressions
|
|
|
|
label: "matchExpressions"
|
|
|
|
schema:
|
|
|
|
type: list
|
|
|
|
default: []
|
|
|
|
items:
|
|
|
|
- variable: expressionEntry
|
|
|
|
label: ""
|
|
|
|
schema:
|
2022-01-21 00:35:59 +00:00
|
|
|
additional_attrs: true
|
2022-01-13 14:05:23 +00:00
|
|
|
type: dict
|
|
|
|
attrs:
|
|
|
|
- variable: key
|
|
|
|
label: "Key"
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
- variable: operator
|
|
|
|
label: "operator"
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
default: "TCP"
|
|
|
|
enum:
|
|
|
|
- value: "In"
|
|
|
|
description: "In"
|
|
|
|
- value: "NotIn"
|
|
|
|
description: "NotIn"
|
|
|
|
- value: "Exists "
|
|
|
|
description: "Exists "
|
|
|
|
- value: "DoesNotExist "
|
|
|
|
description: "DoesNotExist "
|
|
|
|
- variable: values
|
|
|
|
label: "values"
|
|
|
|
schema:
|
|
|
|
type: list
|
|
|
|
default: []
|
|
|
|
items:
|
|
|
|
- variable: value
|
|
|
|
label: ""
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
- variable: podSelector
|
|
|
|
label: ""
|
|
|
|
schema:
|
2022-01-21 00:35:59 +00:00
|
|
|
additional_attrs: true
|
2022-01-13 14:05:23 +00:00
|
|
|
type: dict
|
|
|
|
attrs:
|
|
|
|
- variable: matchExpressions
|
|
|
|
label: "matchExpressions"
|
|
|
|
schema:
|
|
|
|
type: list
|
|
|
|
default: []
|
|
|
|
items:
|
|
|
|
- variable: expressionEntry
|
|
|
|
label: ""
|
|
|
|
schema:
|
2022-01-21 00:35:59 +00:00
|
|
|
additional_attrs: true
|
2022-01-13 14:05:23 +00:00
|
|
|
type: dict
|
|
|
|
attrs:
|
|
|
|
- variable: key
|
|
|
|
label: "Key"
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
- variable: operator
|
|
|
|
label: "operator"
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
default: "TCP"
|
|
|
|
enum:
|
|
|
|
- value: "In"
|
|
|
|
description: "In"
|
|
|
|
- value: "NotIn"
|
|
|
|
description: "NotIn"
|
|
|
|
- value: "Exists "
|
|
|
|
description: "Exists "
|
|
|
|
- value: "DoesNotExist "
|
|
|
|
description: "DoesNotExist "
|
|
|
|
- variable: values
|
|
|
|
label: "values"
|
|
|
|
schema:
|
|
|
|
type: list
|
|
|
|
default: []
|
|
|
|
items:
|
|
|
|
- variable: value
|
|
|
|
label: ""
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
- variable: ports
|
|
|
|
label: "Ports"
|
|
|
|
schema:
|
|
|
|
type: list
|
|
|
|
default: []
|
|
|
|
items:
|
|
|
|
- variable: portsEntry
|
|
|
|
label: ""
|
|
|
|
schema:
|
2022-01-21 00:35:59 +00:00
|
|
|
additional_attrs: true
|
2022-01-13 14:05:23 +00:00
|
|
|
type: dict
|
|
|
|
attrs:
|
|
|
|
- variable: port
|
|
|
|
label: "port"
|
|
|
|
schema:
|
|
|
|
type: int
|
|
|
|
- variable: endPort
|
|
|
|
label: "port"
|
|
|
|
schema:
|
|
|
|
type: int
|
|
|
|
- variable: protocol
|
|
|
|
label: "Protocol"
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
default: "TCP"
|
|
|
|
enum:
|
|
|
|
- value: "TCP"
|
|
|
|
description: "TCP"
|
|
|
|
- value: "UDP"
|
|
|
|
description: "UDP"
|
|
|
|
- value: "SCTP"
|
|
|
|
description: "SCTP"
|