Skip to content

Commit

Permalink
feat(meshmultizoneservice): require ports (#10984)
Browse files Browse the repository at this point in the history
Signed-off-by: Jakub Dyszkiewicz <jakub.dyszkiewicz@gmail.com>
  • Loading branch information
jakubdyszkiewicz committed Jul 26, 2024
1 parent 0596b17 commit 52c4076
Show file tree
Hide file tree
Showing 24 changed files with 258 additions and 252 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3739,6 +3739,29 @@ spec:
description: Spec is the specification of the Kuma MeshMultiZoneService
resource.
properties:
ports:
description: Ports is a list of ports from selected MeshServices
items:
properties:
appProtocol:
default: tcp
description: Protocol identifies a protocol supported by a service.
type: string
name:
type: string
port:
format: int32
type: integer
targetPort:
anyOf:
- type: integer
- type: string
x-kubernetes-int-or-string: true
required:
- port
type: object
minItems: 1
type: array
selector:
description: Selector is a way to select multiple MeshServices
properties:
Expand Down Expand Up @@ -3856,29 +3879,6 @@ spec:
- name
type: object
type: array
ports:
description: Ports is an aggregated distinct list of ports from selected
MeshServices
items:
properties:
appProtocol:
default: tcp
description: Protocol identifies a protocol supported by a service.
type: string
name:
type: string
port:
format: int32
type: integer
targetPort:
anyOf:
- type: integer
- type: string
x-kubernetes-int-or-string: true
required:
- port
type: object
type: array
vips:
description: VIPs is a list of assigned Kuma VIPs.
items:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3739,6 +3739,29 @@ spec:
description: Spec is the specification of the Kuma MeshMultiZoneService
resource.
properties:
ports:
description: Ports is a list of ports from selected MeshServices
items:
properties:
appProtocol:
default: tcp
description: Protocol identifies a protocol supported by a service.
type: string
name:
type: string
port:
format: int32
type: integer
targetPort:
anyOf:
- type: integer
- type: string
x-kubernetes-int-or-string: true
required:
- port
type: object
minItems: 1
type: array
selector:
description: Selector is a way to select multiple MeshServices
properties:
Expand Down Expand Up @@ -3856,29 +3879,6 @@ spec:
- name
type: object
type: array
ports:
description: Ports is an aggregated distinct list of ports from selected
MeshServices
items:
properties:
appProtocol:
default: tcp
description: Protocol identifies a protocol supported by a service.
type: string
name:
type: string
port:
format: int32
type: integer
targetPort:
anyOf:
- type: integer
- type: string
x-kubernetes-int-or-string: true
required:
- port
type: object
type: array
vips:
description: VIPs is a list of assigned Kuma VIPs.
items:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3759,6 +3759,29 @@ spec:
description: Spec is the specification of the Kuma MeshMultiZoneService
resource.
properties:
ports:
description: Ports is a list of ports from selected MeshServices
items:
properties:
appProtocol:
default: tcp
description: Protocol identifies a protocol supported by a service.
type: string
name:
type: string
port:
format: int32
type: integer
targetPort:
anyOf:
- type: integer
- type: string
x-kubernetes-int-or-string: true
required:
- port
type: object
minItems: 1
type: array
selector:
description: Selector is a way to select multiple MeshServices
properties:
Expand Down Expand Up @@ -3876,29 +3899,6 @@ spec:
- name
type: object
type: array
ports:
description: Ports is an aggregated distinct list of ports from selected
MeshServices
items:
properties:
appProtocol:
default: tcp
description: Protocol identifies a protocol supported by a service.
type: string
name:
type: string
port:
format: int32
type: integer
targetPort:
anyOf:
- type: integer
- type: string
x-kubernetes-int-or-string: true
required:
- port
type: object
type: array
vips:
description: VIPs is a list of assigned Kuma VIPs.
items:
Expand Down
46 changes: 23 additions & 23 deletions app/kumactl/cmd/install/testdata/install-crds.all.golden.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5293,6 +5293,29 @@ spec:
description: Spec is the specification of the Kuma MeshMultiZoneService
resource.
properties:
ports:
description: Ports is a list of ports from selected MeshServices
items:
properties:
appProtocol:
default: tcp
description: Protocol identifies a protocol supported by a service.
type: string
name:
type: string
port:
format: int32
type: integer
targetPort:
anyOf:
- type: integer
- type: string
x-kubernetes-int-or-string: true
required:
- port
type: object
minItems: 1
type: array
selector:
description: Selector is a way to select multiple MeshServices
properties:
Expand Down Expand Up @@ -5410,29 +5433,6 @@ spec:
- name
type: object
type: array
ports:
description: Ports is an aggregated distinct list of ports from selected
MeshServices
items:
properties:
appProtocol:
default: tcp
description: Protocol identifies a protocol supported by a service.
type: string
name:
type: string
port:
format: int32
type: integer
targetPort:
anyOf:
- type: integer
- type: string
x-kubernetes-int-or-string: true
required:
- port
type: object
type: array
vips:
description: VIPs is a list of assigned Kuma VIPs.
items:
Expand Down
46 changes: 23 additions & 23 deletions deployments/charts/kuma/crds/kuma.io_meshmultizoneservices.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,29 @@ spec:
description: Spec is the specification of the Kuma MeshMultiZoneService
resource.
properties:
ports:
description: Ports is a list of ports from selected MeshServices
items:
properties:
appProtocol:
default: tcp
description: Protocol identifies a protocol supported by a service.
type: string
name:
type: string
port:
format: int32
type: integer
targetPort:
anyOf:
- type: integer
- type: string
x-kubernetes-int-or-string: true
required:
- port
type: object
minItems: 1
type: array
selector:
description: Selector is a way to select multiple MeshServices
properties:
Expand Down Expand Up @@ -158,29 +181,6 @@ spec:
- name
type: object
type: array
ports:
description: Ports is an aggregated distinct list of ports from selected
MeshServices
items:
properties:
appProtocol:
default: tcp
description: Protocol identifies a protocol supported by a service.
type: string
name:
type: string
port:
format: int32
type: integer
targetPort:
anyOf:
- type: integer
- type: string
x-kubernetes-int-or-string: true
required:
- port
type: object
type: array
vips:
description: VIPs is a list of assigned Kuma VIPs.
items:
Expand Down
47 changes: 23 additions & 24 deletions docs/generated/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11107,6 +11107,29 @@ components:
spec:
description: Spec is the specification of the Kuma MeshMultiZoneService resource.
properties:
ports:
description: Ports is a list of ports from selected MeshServices
items:
properties:
appProtocol:
default: tcp
description: Protocol identifies a protocol supported by a service.
type: string
name:
type: string
port:
format: int32
type: integer
targetPort:
anyOf:
- type: integer
- type: string
x-kubernetes-int-or-string: true
required:
- port
type: object
minItems: 1
type: array
selector:
description: Selector is a way to select multiple MeshServices
properties:
Expand Down Expand Up @@ -11244,30 +11267,6 @@ components:
- name
type: object
type: array
ports:
description: >-
Ports is an aggregated distinct list of ports from selected
MeshServices
items:
properties:
appProtocol:
default: tcp
description: Protocol identifies a protocol supported by a service.
type: string
name:
type: string
port:
format: int32
type: integer
targetPort:
anyOf:
- type: integer
- type: string
x-kubernetes-int-or-string: true
required:
- port
type: object
type: array
vips:
description: VIPs is a list of assigned Kuma VIPs.
items:
Expand Down
Loading

0 comments on commit 52c4076

Please sign in to comment.