Skip to content

Commit 60de5d1

Browse files
committed
manifests: Update generated CRD for LoadBalancerSpec zones
Update generated CRD manifests to include the availabilityZones field on LoadBalancerSpec with proper validation: - Type: array of strings - List type: set (prevents duplicates) - Max items: 3 (Azure supports up to 3 zones per region) This is the result of running 'make generate-manifests' after adding the AvailabilityZones field to the API types.
1 parent 83545cc commit 60de5d1

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

config/crd/bases/infrastructure.cluster.x-k8s.io_azureclusters.yaml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -689,6 +689,17 @@ spec:
689689
description: APIServerLB is the configuration for the control-plane
690690
load balancer.
691691
properties:
692+
availabilityZones:
693+
description: |-
694+
AvailabilityZones is a list of availability zones for the load balancer.
695+
When specified for an internal load balancer, the frontend IP configuration
696+
will be zone-redundant across the specified zones.
697+
For public load balancers, this should be set on the associated public IP addresses instead.
698+
items:
699+
type: string
700+
maxItems: 3
701+
type: array
702+
x-kubernetes-list-type: set
692703
backendPool:
693704
description: BackendPool describes the backend pool of the
694705
load balancer.
@@ -772,6 +783,17 @@ spec:
772783
ControlPlaneOutboundLB is the configuration for the control-plane outbound load balancer.
773784
This is different from APIServerLB, and is used only in private clusters (optionally) for enabling outbound traffic.
774785
properties:
786+
availabilityZones:
787+
description: |-
788+
AvailabilityZones is a list of availability zones for the load balancer.
789+
When specified for an internal load balancer, the frontend IP configuration
790+
will be zone-redundant across the specified zones.
791+
For public load balancers, this should be set on the associated public IP addresses instead.
792+
items:
793+
type: string
794+
maxItems: 3
795+
type: array
796+
x-kubernetes-list-type: set
775797
backendPool:
776798
description: BackendPool describes the backend pool of the
777799
load balancer.
@@ -854,6 +876,17 @@ spec:
854876
description: NodeOutboundLB is the configuration for the node
855877
outbound load balancer.
856878
properties:
879+
availabilityZones:
880+
description: |-
881+
AvailabilityZones is a list of availability zones for the load balancer.
882+
When specified for an internal load balancer, the frontend IP configuration
883+
will be zone-redundant across the specified zones.
884+
For public load balancers, this should be set on the associated public IP addresses instead.
885+
items:
886+
type: string
887+
maxItems: 3
888+
type: array
889+
x-kubernetes-list-type: set
857890
backendPool:
858891
description: BackendPool describes the backend pool of the
859892
load balancer.

0 commit comments

Comments
 (0)