Skip to content

Commit f719daa

Browse files
authored
Update to ACK runtime v0.47.0, code-generator v0.47.1 (#269)
### Update to ACK runtime `v0.47.0`, code-generator `v0.47.1` ---------- * ACK code-generator `v0.47.1` [release notes](https://github.com/aws-controllers-k8s/code-generator/releases/tag/v0.47.1) * ACK runtime `v0.47.0` [release notes](https://github.com/aws-controllers-k8s/runtime/releases/tag/v0.47.0) ---------- NOTE: This PR increments the release version of service controller from `v1.4.4` to `v1.4.5` Once this PR is merged, release `v1.4.5` will be automatically created for `ec2-controller` **Please close this PR, if you do not want the new patch release for `ec2-controller`** ---------- #### stdout for `make build-controller`: ``` building ack-generate ... ok. ==== building ec2-controller ==== Copying common custom resource definitions into ec2 Building Kubernetes API objects for ec2 Generating deepcopy code for ec2 Generating custom resource definitions for ec2 Building service controller for ec2 Running GO mod tidy Generating RBAC manifests for ec2 Running gofmt against generated code for ec2 Updating additional GitHub repository maintenance files ==== building ec2-controller release artifacts ==== Building release artifacts for ec2-v1.4.5 Generating common custom resource definitions Generating custom resource definitions for ec2 Generating RBAC manifests for ec2 ``` ---------- By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
1 parent fb84263 commit f719daa

13 files changed

+40
-14
lines changed

apis/v1alpha1/ack-generate-metadata.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
ack_generate_info:
2-
build_date: "2025-05-13T17:53:20Z"
3-
build_hash: 55bf57b2806c33a7fcd074be403f26ce3f8e58db
2+
build_date: "2025-05-24T00:20:12Z"
3+
build_hash: 66a58d259146834e61b211a9a01609beaa58ef77
44
go_version: go1.24.2
5-
version: v0.46.2
6-
api_directory_checksum: 3df6921566512e42abdabd564c80aea5311d410a
5+
version: v0.47.1
6+
api_directory_checksum: d162a6e9df2d4861d6c01d42047402b51f341293
77
api_version: v1alpha1
88
aws_sdk_go_version: v1.32.6
99
generator_config_info:

apis/v1alpha1/capacity_reservation.go

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apis/v1alpha1/launch_template.go

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

config/controller/kustomization.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ kind: Kustomization
66
images:
77
- name: controller
88
newName: public.ecr.aws/aws-controllers-k8s/ec2-controller
9-
newTag: 1.4.4
9+
newTag: 1.4.5

config/crd/bases/ec2.services.k8s.aws_capacityreservations.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,8 @@ spec:
183183
184184
The Amazon Resource Name (ARN) of the Outpost on which to create the Capacity
185185
Reservation.
186+
187+
Regex Pattern: `^arn:aws([a-z-]+)?:outposts:[a-z\d-]+:\d{12}:outpost/op-[a-f0-9]{17}$`
186188
type: string
187189
placementGroupARN:
188190
description: |-
@@ -192,6 +194,8 @@ spec:
192194
create the Capacity Reservation. For more information, see Capacity Reservations
193195
for cluster placement groups (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/cr-cpg.html)
194196
in the Amazon EC2 User Guide.
197+
198+
Regex Pattern: `^arn:aws([a-z-]+)?:ec2:[a-z\d-]+:\d{12}:placement-group/^.{1,255}$`
195199
type: string
196200
startDate:
197201
description: |-
@@ -401,6 +405,8 @@ spec:
401405
description: |-
402406
The ID of the Amazon Web Services account to which billing of the unused
403407
capacity of the Capacity Reservation is assigned.
408+
409+
Regex Pattern: `^[0-9]{12}$`
404410
type: string
405411
type: object
406412
type: object

config/crd/bases/ec2.services.k8s.aws_launchtemplates.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -609,7 +609,10 @@ spec:
609609
format: int64
610610
type: integer
611611
name:
612-
description: A name for the launch template.
612+
description: |-
613+
A name for the launch template.
614+
615+
Regex Pattern: `^[a-zA-Z0-9\(\)\.\-/_]+$`
613616
type: string
614617
tags:
615618
description: |-

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ go 1.24.0
55
toolchain go1.24.1
66

77
require (
8-
github.com/aws-controllers-k8s/runtime v0.46.1
8+
github.com/aws-controllers-k8s/runtime v0.47.0
99
github.com/aws/aws-sdk-go v1.49.0
1010
github.com/aws/aws-sdk-go-v2 v1.35.0
1111
github.com/aws/aws-sdk-go-v2/service/ec2 v1.202.1

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
github.com/aws-controllers-k8s/runtime v0.46.1 h1:61RU6uYiFSp0cDhv52vAmaPzrebzoudtsp1fGkk6iLk=
2-
github.com/aws-controllers-k8s/runtime v0.46.1/go.mod h1:G2UMBKA7qgXG4JV16NTIUp715uqvUEvWaa7TG1I527U=
1+
github.com/aws-controllers-k8s/runtime v0.47.0 h1:pWzMLrwAFrAmMuSukYDLrQp5Yw594w1ke6XWGmI3uyo=
2+
github.com/aws-controllers-k8s/runtime v0.47.0/go.mod h1:G2UMBKA7qgXG4JV16NTIUp715uqvUEvWaa7TG1I527U=
33
github.com/aws/aws-sdk-go v1.49.0 h1:g9BkW1fo9GqKfwg2+zCD+TW/D36Ux+vtfJ8guF4AYmY=
44
github.com/aws/aws-sdk-go v1.49.0/go.mod h1:LF8svs817+Nz+DmiMQKTO3ubZ/6IaTpq3TjupRn3Eqk=
55
github.com/aws/aws-sdk-go-v2 v1.35.0 h1:jTPxEJyzjSuuz0wB+302hr8Eu9KUI+Zv8zlujMGJpVI=

helm/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
apiVersion: v1
22
name: ec2-chart
33
description: A Helm chart for the ACK service controller for Amazon Elastic Cloud Compute (EC2)
4-
version: 1.4.4
5-
appVersion: 1.4.4
4+
version: 1.4.5
5+
appVersion: 1.4.5
66
home: https://github.com/aws-controllers-k8s/ec2-controller
77
icon: https://raw.githubusercontent.com/aws/eks-charts/master/docs/logo/aws.png
88
sources:

helm/crds/ec2.services.k8s.aws_capacityreservations.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,8 @@ spec:
183183
184184
The Amazon Resource Name (ARN) of the Outpost on which to create the Capacity
185185
Reservation.
186+
187+
Regex Pattern: `^arn:aws([a-z-]+)?:outposts:[a-z\d-]+:\d{12}:outpost/op-[a-f0-9]{17}$`
186188
type: string
187189
placementGroupARN:
188190
description: |-
@@ -192,6 +194,8 @@ spec:
192194
create the Capacity Reservation. For more information, see Capacity Reservations
193195
for cluster placement groups (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/cr-cpg.html)
194196
in the Amazon EC2 User Guide.
197+
198+
Regex Pattern: `^arn:aws([a-z-]+)?:ec2:[a-z\d-]+:\d{12}:placement-group/^.{1,255}$`
195199
type: string
196200
startDate:
197201
description: |-
@@ -401,6 +405,8 @@ spec:
401405
description: |-
402406
The ID of the Amazon Web Services account to which billing of the unused
403407
capacity of the Capacity Reservation is assigned.
408+
409+
Regex Pattern: `^[0-9]{12}$`
404410
type: string
405411
type: object
406412
type: object

helm/crds/ec2.services.k8s.aws_launchtemplates.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -609,7 +609,10 @@ spec:
609609
format: int64
610610
type: integer
611611
name:
612-
description: A name for the launch template.
612+
description: |-
613+
A name for the launch template.
614+
615+
Regex Pattern: `^[a-zA-Z0-9\(\)\.\-/_]+$`
613616
type: string
614617
tags:
615618
description: |-

helm/templates/NOTES.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{{ .Chart.Name }} has been installed.
2-
This chart deploys "public.ecr.aws/aws-controllers-k8s/ec2-controller:1.4.4".
2+
This chart deploys "public.ecr.aws/aws-controllers-k8s/ec2-controller:1.4.5".
33

44
Check its status by running:
55
kubectl --namespace {{ .Release.Namespace }} get pods -l "app.kubernetes.io/instance={{ .Release.Name }}"

helm/values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
image:
66
repository: public.ecr.aws/aws-controllers-k8s/ec2-controller
7-
tag: 1.4.4
7+
tag: 1.4.5
88
pullPolicy: IfNotPresent
99
pullSecrets: []
1010

0 commit comments

Comments
 (0)