Skip to content

Commit ae79d88

Browse files
authored
Merge pull request #351 from madeddie/capa_update_fix
Update capa to v2.10.2
2 parents d677e30 + e0bcd4e commit ae79d88

18 files changed

+1730
-42
lines changed

cluster-api-provider-aws/kcl.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "cluster-api-provider-aws"
33
edition = "*"
4-
version = "v2.10.1"
4+
version = "v2.10.2"
55
description = "KCL package for https://github.com/kubernetes-sigs/cluster-api-provider-aws CRDs"
66

77
[dependencies]

cluster-api-provider-aws/v1beta1/controlplane_clusterx_k8s_io_v1beta1_a_w_s_managed_control_plane.k

Lines changed: 38 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -242,6 +242,7 @@ schema ControlplaneClusterxK8sIoV1beta1AWSManagedControlPlaneSpecBastion:
242242
allowedCIDRBlocks : [str], default is Undefined, optional
243243
AllowedCIDRBlocks is a list of CIDR blocks allowed to access the bastion host.
244244
They are set as ingress rules for the Bastion host's Security Group (defaults to 0.0.0.0/0).
245+
If the cluster has IPv6 enabled, defaults to ::/0 and 0.0.0.0/0.
245246
ami : str, default is Undefined, optional
246247
AMI will use the specified AMI to boot the bastion. If not specified,
247248
the AMI will default to one picked out in public space.
@@ -672,10 +673,8 @@ schema ControlplaneClusterxK8sIoV1beta1AWSManagedControlPlaneSpecNetworkSubnetsI
672673
ipv6CidrBlock : str, default is Undefined, optional
673674
IPv6CidrBlock is the IPv6 CIDR block to be used when the provider creates a managed VPC.
674675
A subnet can have an IPv4 and an IPv6 address.
675-
IPv6 is only supported in managed clusters, this field cannot be set on AWSCluster object.
676676
isIpv6 : bool, default is Undefined, optional
677-
IsIPv6 defines the subnet as an IPv6 subnet. A subnet is IPv6 when it is associated with a VPC that has IPv6 enabled.
678-
IPv6 is only supported in managed clusters, this field cannot be set on AWSCluster object.
677+
IsIPv6 defines the subnet as an IPv6 subnet. A subnet is IPv6 when it is associated with an IPv6 CIDR.
679678
isPublic : bool, default is Undefined, optional
680679
IsPublic defines the subnet as a public subnet. A subnet is public when it is associated with a route table that has a route to an internet gateway.
681680
natGatewayId : str, default is Undefined, optional
@@ -875,8 +874,7 @@ schema ControlplaneClusterxK8sIoV1beta1AWSManagedControlPlaneSpecNetworkVpcElast
875874

876875
schema ControlplaneClusterxK8sIoV1beta1AWSManagedControlPlaneSpecNetworkVpcIPV6:
877876
r"""
878-
IPv6 contains ipv6 specific settings for the network. Supported only in managed clusters.
879-
This field cannot be set on AWSCluster object.
877+
IPv6 contains ipv6 specific settings for the network.
880878
881879
Attributes
882880
----------
@@ -918,6 +916,7 @@ schema ControlplaneClusterxK8sIoV1beta1AWSManagedControlPlaneSpecNetworkVpcIPV6I
918916
The netmask length of the IPv4 CIDR you want to allocate to VPC from
919917
an Amazon VPC IP Address Manager (IPAM) pool.
920918
Defaults to /16 for IPv4 if not specified.
919+
Defaults to /56 for IPv6 if not specified.
921920
"""
922921

923922

@@ -943,6 +942,7 @@ schema ControlplaneClusterxK8sIoV1beta1AWSManagedControlPlaneSpecNetworkVpcIpamP
943942
The netmask length of the IPv4 CIDR you want to allocate to VPC from
944943
an Amazon VPC IP Address Manager (IPAM) pool.
945944
Defaults to /16 for IPv4 if not specified.
945+
Defaults to /56 for IPv6 if not specified.
946946
"""
947947

948948

@@ -1066,9 +1066,9 @@ schema ControlplaneClusterxK8sIoV1beta1AWSManagedControlPlaneSpecVpcCniEnvItems0
10661066
Variable references $(VAR_NAME) are expanded
10671067
using the previously defined environment variables in the container and
10681068
any service environment variables. If a variable cannot be resolved,
1069-
the reference in the input string will be unchanged. Double $ are reduced
1069+
the reference in the input string will be unchanged. Double $$ are reduced
10701070
to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e.
1071-
"$(VAR_NAME)" will produce the string literal "$(VAR_NAME)".
1071+
"$$(VAR_NAME)" will produce the string literal "$(VAR_NAME)".
10721072
Escaped references will never be expanded, regardless of whether the variable
10731073
exists or not.
10741074
Defaults to "".
@@ -1338,6 +1338,8 @@ schema ControlplaneClusterxK8sIoV1beta1AWSManagedControlPlaneStatusBastion:
13381338
----------
13391339
addresses : [ControlplaneClusterxK8sIoV1beta1AWSManagedControlPlaneStatusBastionAddressesItems0], default is Undefined, optional
13401340
Addresses contains the AWS instance associated addresses.
1341+
assignPrimaryIPv6 : str, default is Undefined, optional
1342+
AssignPrimaryIPv6 specifies whether to enable assigning a primary IPv6 address to the primary network Interface.
13411343
availabilityZone : str, default is Undefined, optional
13421344
Availability zone of instance
13431345
capacityReservationId : str, default is Undefined, optional
@@ -1375,6 +1377,8 @@ schema ControlplaneClusterxK8sIoV1beta1AWSManagedControlPlaneStatusBastion:
13751377
instance metadata options
13761378
instanceState : str, default is Undefined, optional
13771379
The current state of the instance.
1380+
ipv6Address : str, default is Undefined, optional
1381+
The IPv6 address assigned to the instance.
13781382
marketType : str, default is Undefined, optional
13791383
MarketType specifies the type of market for the EC2 instance. Valid values include:
13801384
"OnDemand" (default): The instance runs as a standard OnDemand instance.
@@ -1428,6 +1432,8 @@ schema ControlplaneClusterxK8sIoV1beta1AWSManagedControlPlaneStatusBastion:
14281432

14291433
addresses?: [ControlplaneClusterxK8sIoV1beta1AWSManagedControlPlaneStatusBastionAddressesItems0]
14301434

1435+
assignPrimaryIPv6?: str
1436+
14311437
availabilityZone?: str
14321438

14331439
capacityReservationId?: str
@@ -1456,6 +1462,8 @@ schema ControlplaneClusterxK8sIoV1beta1AWSManagedControlPlaneStatusBastion:
14561462

14571463
instanceState?: str
14581464

1465+
ipv6Address?: str
1466+
14591467
marketType?: "OnDemand" | "Spot" | "CapacityBlock"
14601468

14611469
networkInterfaceType?: str
@@ -1578,6 +1586,11 @@ schema ControlplaneClusterxK8sIoV1beta1AWSManagedControlPlaneStatusBastionInstan
15781586
If you specify a value of disabled, you cannot access your instance metadata.
15791587
15801588
Default: enabled
1589+
httpProtocolIpv6 : str, default is "disabled", optional
1590+
Enables or disables the IPv6 endpoint for the instance metadata service.
1591+
This applies only if you enabled the HTTP metadata endpoint.
1592+
1593+
Default: disabled
15811594
httpPutResponseHopLimit : int, default is 1, optional
15821595
The desired HTTP PUT response hop limit for instance metadata requests. The
15831596
larger the number, the further instance metadata requests can travel.
@@ -1610,6 +1623,8 @@ schema ControlplaneClusterxK8sIoV1beta1AWSManagedControlPlaneStatusBastionInstan
16101623

16111624
httpEndpoint?: "enabled" | "disabled" = "enabled"
16121625

1626+
httpProtocolIpv6?: "enabled" | "disabled" = "disabled"
1627+
16131628
httpPutResponseHopLimit?: int = 1
16141629

16151630
httpTokens?: "optional" | "required" = "optional"
@@ -1888,6 +1903,8 @@ schema ControlplaneClusterxK8sIoV1beta1AWSManagedControlPlaneStatusNetworkStatus
18881903
health checks
18891904
listeners : [ControlplaneClusterxK8sIoV1beta1AWSManagedControlPlaneStatusNetworkStatusAPIServerElbListenersItems0], default is Undefined, optional
18901905
ClassicELBListeners is an array of classic elb listeners associated with the load balancer. There must be at least one.
1906+
loadBalancerIPAddressType : str, default is Undefined, optional
1907+
LoadBalancerIPAddressType specifies the IP address type for the load balancer.
18911908
loadBalancerType : str, default is Undefined, optional
18921909
LoadBalancerType sets the type for a load balancer. The default type is classic.
18931910
name : str, default is Undefined, optional
@@ -1920,6 +1937,8 @@ schema ControlplaneClusterxK8sIoV1beta1AWSManagedControlPlaneStatusNetworkStatus
19201937

19211938
listeners?: [ControlplaneClusterxK8sIoV1beta1AWSManagedControlPlaneStatusNetworkStatusAPIServerElbListenersItems0]
19221939

1940+
loadBalancerIPAddressType?: "ipv4" | "dualstack" | "dualstack-without-public-ipv4"
1941+
19231942
loadBalancerType?: "classic" | "elb" | "alb" | "nlb"
19241943

19251944
name?: str
@@ -1981,6 +2000,8 @@ schema ControlplaneClusterxK8sIoV1beta1AWSManagedControlPlaneStatusNetworkStatus
19812000
19822001
Attributes
19832002
----------
2003+
ipType : str, default is Undefined, optional
2004+
IPType is the IP address type for the target group.
19842005
name : str, default is Undefined, required
19852006
Name of the TargetGroup. Must be unique over the same group of listeners.
19862007
port : int, default is Undefined, required
@@ -1994,6 +2015,8 @@ schema ControlplaneClusterxK8sIoV1beta1AWSManagedControlPlaneStatusNetworkStatus
19942015
"""
19952016

19962017

2018+
ipType?: str
2019+
19972020
name: str
19982021

19992022
port: int
@@ -2130,6 +2153,8 @@ schema ControlplaneClusterxK8sIoV1beta1AWSManagedControlPlaneStatusNetworkStatus
21302153
health checks
21312154
listeners : [ControlplaneClusterxK8sIoV1beta1AWSManagedControlPlaneStatusNetworkStatusSecondaryAPIServerELBListenersItems0], default is Undefined, optional
21322155
ClassicELBListeners is an array of classic elb listeners associated with the load balancer. There must be at least one.
2156+
loadBalancerIPAddressType : str, default is Undefined, optional
2157+
LoadBalancerIPAddressType specifies the IP address type for the load balancer.
21332158
loadBalancerType : str, default is Undefined, optional
21342159
LoadBalancerType sets the type for a load balancer. The default type is classic.
21352160
name : str, default is Undefined, optional
@@ -2162,6 +2187,8 @@ schema ControlplaneClusterxK8sIoV1beta1AWSManagedControlPlaneStatusNetworkStatus
21622187

21632188
listeners?: [ControlplaneClusterxK8sIoV1beta1AWSManagedControlPlaneStatusNetworkStatusSecondaryAPIServerELBListenersItems0]
21642189

2190+
loadBalancerIPAddressType?: "ipv4" | "dualstack" | "dualstack-without-public-ipv4"
2191+
21652192
loadBalancerType?: "classic" | "elb" | "alb" | "nlb"
21662193

21672194
name?: str
@@ -2223,6 +2250,8 @@ schema ControlplaneClusterxK8sIoV1beta1AWSManagedControlPlaneStatusNetworkStatus
22232250
22242251
Attributes
22252252
----------
2253+
ipType : str, default is Undefined, optional
2254+
IPType is the IP address type for the target group.
22262255
name : str, default is Undefined, required
22272256
Name of the TargetGroup. Must be unique over the same group of listeners.
22282257
port : int, default is Undefined, required
@@ -2236,6 +2265,8 @@ schema ControlplaneClusterxK8sIoV1beta1AWSManagedControlPlaneStatusNetworkStatus
22362265
"""
22372266

22382267

2268+
ipType?: str
2269+
22392270
name: str
22402271

22412272
port: int

cluster-api-provider-aws/v1beta1/infrastructure_clusterx_k8s_io_v1beta1_a_w_s_cluster.k

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -327,10 +327,8 @@ schema InfrastructureClusterxK8sIoV1beta1AWSClusterSpecNetworkSubnetsItems0:
327327
ipv6CidrBlock : str, default is Undefined, optional
328328
IPv6CidrBlock is the IPv6 CIDR block to be used when the provider creates a managed VPC.
329329
A subnet can have an IPv4 and an IPv6 address.
330-
IPv6 is only supported in managed clusters, this field cannot be set on AWSCluster object.
331330
isIpv6 : bool, default is Undefined, optional
332-
IsIPv6 defines the subnet as an IPv6 subnet. A subnet is IPv6 when it is associated with a VPC that has IPv6 enabled.
333-
IPv6 is only supported in managed clusters, this field cannot be set on AWSCluster object.
331+
IsIPv6 defines the subnet as an IPv6 subnet. A subnet is IPv6 when it is associated with an IPv6 CIDR.
334332
isPublic : bool, default is Undefined, optional
335333
IsPublic defines the subnet as a public subnet. A subnet is public when it is associated with a route table that has a route to an internet gateway.
336334
natGatewayId : str, default is Undefined, optional
@@ -414,8 +412,7 @@ schema InfrastructureClusterxK8sIoV1beta1AWSClusterSpecNetworkVpc:
414412

415413
schema InfrastructureClusterxK8sIoV1beta1AWSClusterSpecNetworkVpcIPV6:
416414
r"""
417-
IPv6 contains ipv6 specific settings for the network. Supported only in managed clusters.
418-
This field cannot be set on AWSCluster object.
415+
IPv6 contains ipv6 specific settings for the network.
419416
420417
Attributes
421418
----------

cluster-api-provider-aws/v1beta1/infrastructure_clusterx_k8s_io_v1beta1_a_w_s_cluster_template.k

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -380,10 +380,8 @@ schema InfrastructureClusterxK8sIoV1beta1AWSClusterTemplateSpecTemplateSpecNetwo
380380
ipv6CidrBlock : str, default is Undefined, optional
381381
IPv6CidrBlock is the IPv6 CIDR block to be used when the provider creates a managed VPC.
382382
A subnet can have an IPv4 and an IPv6 address.
383-
IPv6 is only supported in managed clusters, this field cannot be set on AWSCluster object.
384383
isIpv6 : bool, default is Undefined, optional
385-
IsIPv6 defines the subnet as an IPv6 subnet. A subnet is IPv6 when it is associated with a VPC that has IPv6 enabled.
386-
IPv6 is only supported in managed clusters, this field cannot be set on AWSCluster object.
384+
IsIPv6 defines the subnet as an IPv6 subnet. A subnet is IPv6 when it is associated with an IPv6 CIDR.
387385
isPublic : bool, default is Undefined, optional
388386
IsPublic defines the subnet as a public subnet. A subnet is public when it is associated with a route table that has a route to an internet gateway.
389387
natGatewayId : str, default is Undefined, optional
@@ -467,8 +465,7 @@ schema InfrastructureClusterxK8sIoV1beta1AWSClusterTemplateSpecTemplateSpecNetwo
467465

468466
schema InfrastructureClusterxK8sIoV1beta1AWSClusterTemplateSpecTemplateSpecNetworkVpcIPV6:
469467
r"""
470-
IPv6 contains ipv6 specific settings for the network. Supported only in managed clusters.
471-
This field cannot be set on AWSCluster object.
468+
IPv6 contains ipv6 specific settings for the network.
472469
473470
Attributes
474471
----------

cluster-api-provider-aws/v1beta2/bootstrap_clusterx_k8s_io_v1beta2_e_k_s_config.k

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@ schema EKSConfig:
99
r"""
1010
EKSConfig is the schema for the Amazon EKS Machine Bootstrap Configuration API.
1111
12+
Deprecated: EKSConfig is deprecated and will be removed in a future release.
13+
Amazon Linux 2 (AL2) reaches end-of-life in June 2026 see: https://aws.amazon.com/amazon-linux-2/faqs/
14+
Please use NodeadmConfig with Amazon Linux 2023 (AL2023) instead.
15+
1216
Attributes
1317
----------
1418
apiVersion : str, default is "bootstrap.cluster.x-k8s.io/v1beta2", required

0 commit comments

Comments
 (0)