Skip to content

Commit 7f5acc0

Browse files
authored
Update to ACK runtime v0.47.0, code-generator v0.47.1 (#48)
### 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.0.13` to `v1.0.14` Once this PR is merged, release `v1.0.14` will be automatically created for `efs-controller` **Please close this PR, if you do not want the new patch release for `efs-controller`** ---------- #### stdout for `make build-controller`: ``` building ack-generate ... ok. ==== building efs-controller ==== Copying common custom resource definitions into efs Building Kubernetes API objects for efs Generating deepcopy code for efs Generating custom resource definitions for efs Building service controller for efs Running GO mod tidy Generating RBAC manifests for efs Running gofmt against generated code for efs Updating additional GitHub repository maintenance files ==== building efs-controller release artifacts ==== Building release artifacts for efs-v1.0.14 Generating common custom resource definitions Generating custom resource definitions for efs Generating RBAC manifests for efs ``` ---------- By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
1 parent 55ea900 commit 7f5acc0

16 files changed

+138
-40
lines changed

apis/v1alpha1/access_point.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/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-13T04:44:50Z"
3-
build_hash: 55bf57b2806c33a7fcd074be403f26ce3f8e58db
2+
build_date: "2025-05-24T00:53:26Z"
3+
build_hash: 66a58d259146834e61b211a9a01609beaa58ef77
44
go_version: go1.24.2
5-
version: v0.46.2
6-
api_directory_checksum: ebeb6f826282ad9134ca78efd74dc9125898fddf
5+
version: v0.47.1
6+
api_directory_checksum: 01de06bb7dff101d9ebdbc6e252f3e526b493fb2
77
api_version: v1alpha1
88
aws_sdk_go_version: v1.32.6
99
generator_config_info:

apis/v1alpha1/file_system.go

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

apis/v1alpha1/mount_target.go

Lines changed: 12 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/efs-controller
9-
newTag: 1.0.13
9+
newTag: 1.0.14

config/crd/bases/efs.services.k8s.aws_accesspoints.yaml

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,10 @@ spec:
6565
description: AccessPointSpec defines the desired state of AccessPoint.
6666
properties:
6767
fileSystemID:
68-
description: The ID of the EFS file system that the access point provides
69-
access to.
68+
description: |-
69+
The ID of the EFS file system that the access point provides access to.
70+
71+
Regex Pattern: `^(arn:aws[-a-z]*:elasticfilesystem:[0-9a-z-:]+:file-system/fs-[0-9a-f]{8,40}|fs-[0-9a-f]{8,40})$`
7072
type: string
7173
x-kubernetes-validations:
7274
- message: Value is immutable once set
@@ -177,7 +179,10 @@ spec:
177179
description: AccessPointStatus defines the observed state of AccessPoint
178180
properties:
179181
accessPointID:
180-
description: The ID of the access point, assigned by Amazon EFS.
182+
description: |-
183+
The ID of the access point, assigned by Amazon EFS.
184+
185+
Regex Pattern: `^(arn:aws[-a-z]*:elasticfilesystem:[0-9a-z-:]+:access-point/fsap-[0-9a-f]{8,40}|fsap-[0-9a-f]{8,40})$`
181186
type: string
182187
ackResourceMetadata:
183188
description: |-
@@ -251,8 +256,10 @@ spec:
251256
Name tag.
252257
type: string
253258
ownerID:
254-
description: Identifies the Amazon Web Services account that owns
255-
the access point resource.
259+
description: |-
260+
Identifies the Amazon Web Services account that owns the access point resource.
261+
262+
Regex Pattern: `^(\d{12})|(\d{4}-\d{4}-\d{4})$`
256263
type: string
257264
type: object
258265
type: object

config/crd/bases/efs.services.k8s.aws_filesystems.yaml

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,8 @@ spec:
8383
8484
One Zone file systems are not available in all Availability Zones in Amazon
8585
Web Services Regions where Amazon EFS is available.
86+
87+
Regex Pattern: `^.+$`
8688
type: string
8789
backup:
8890
description: |-
@@ -138,6 +140,8 @@ spec:
138140
139141
EFS accepts only symmetric KMS keys. You cannot use asymmetric KMS keys with
140142
Amazon EFS file systems.
143+
144+
Regex Pattern: `^([0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}|mrk-[0-9a-f]{32}|alias/[a-zA-Z0-9/_-]+|(arn:aws[-a-z]*:kms:[a-z0-9-]+:\d{12}:((key/[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12})|(key/mrk-[0-9a-f]{32})|(alias/[a-zA-Z0-9/_-]+))))$`
141145
type: string
142146
kmsKeyRef:
143147
description: "AWSResourceReferenceWrapper provides a wrapper around
@@ -223,6 +227,8 @@ spec:
223227
definition. EFS file system policies have a 20,000 character limit. To find
224228
out more about the elements that make up a file system policy, see Resource-based
225229
policies within Amazon EFS (https://docs.aws.amazon.com/efs/latest/ug/security_iam_service-with-iam.html#security_iam_service-with-iam-resource-based-policies).
230+
231+
Regex Pattern: `^[\s\S]+$`
226232
type: string
227233
provisionedThroughputInMiBps:
228234
description: |-
@@ -347,7 +353,10 @@ spec:
347353
format: date-time
348354
type: string
349355
fileSystemID:
350-
description: The ID of the file system, assigned by Amazon EFS.
356+
description: |-
357+
The ID of the file system, assigned by Amazon EFS.
358+
359+
Regex Pattern: `^(arn:aws[-a-z]*:elasticfilesystem:[0-9a-z-:]+:file-system/fs-[0-9a-f]{8,40}|fs-[0-9a-f]{8,40})$`
351360
type: string
352361
lifeCycleState:
353362
description: The lifecycle phase of the file system.
@@ -357,6 +366,8 @@ spec:
357366
You can add tags to a file system, including a Name tag. For more information,
358367
see CreateFileSystem. If the file system has a Name tag, Amazon EFS returns
359368
the value in this field.
369+
370+
Regex Pattern: `^([\p{L}\p{Z}\p{N}_.:/=+\-@]*)$`
360371
type: string
361372
numberOfMountTargets:
362373
description: |-
@@ -365,8 +376,10 @@ spec:
365376
format: int64
366377
type: integer
367378
ownerID:
368-
description: The Amazon Web Services account that created the file
369-
system.
379+
description: |-
380+
The Amazon Web Services account that created the file system.
381+
382+
Regex Pattern: `^(\d{12})|(\d{4}-\d{4}-\d{4})$`
370383
type: string
371384
sizeInBytes:
372385
description: |-

config/crd/bases/efs.services.k8s.aws_mounttargets.yaml

Lines changed: 20 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,10 @@ spec:
7474
description: MountTargetSpec defines the desired state of MountTarget.
7575
properties:
7676
fileSystemID:
77-
description: The ID of the file system for which to create the mount
78-
target.
77+
description: |-
78+
The ID of the file system for which to create the mount target.
79+
80+
Regex Pattern: `^(arn:aws[-a-z]*:elasticfilesystem:[0-9a-z-:]+:file-system/fs-[0-9a-f]{8,40}|fs-[0-9a-f]{8,40})$`
7981
type: string
8082
fileSystemRef:
8183
description: "AWSResourceReferenceWrapper provides a wrapper around
@@ -95,8 +97,10 @@ spec:
9597
type: object
9698
type: object
9799
ipAddress:
98-
description: Valid IPv4 address within the address range of the specified
99-
subnet.
100+
description: |-
101+
Valid IPv4 address within the address range of the specified subnet.
102+
103+
Regex Pattern: `^[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}$`
100104
type: string
101105
securityGroupRefs:
102106
items:
@@ -128,6 +132,8 @@ spec:
128132
description: |-
129133
The ID of the subnet to add the mount target in. For One Zone file systems,
130134
use the subnet that is associated with the file system's Availability Zone.
135+
136+
Regex Pattern: `^subnet-[0-9a-f]{8,40}$`
131137
type: string
132138
subnetRef:
133139
description: "AWSResourceReferenceWrapper provides a wrapper around
@@ -192,6 +198,8 @@ spec:
192198
For example, the Availability Zone us-east-1a for your Amazon Web Services
193199
account might not be the same location as us-east-1a for another Amazon Web
194200
Services account.
201+
202+
Regex Pattern: `^.+$`
195203
type: string
196204
conditions:
197205
description: |-
@@ -232,15 +240,21 @@ spec:
232240
description: Lifecycle state of the mount target.
233241
type: string
234242
mountTargetID:
235-
description: System-assigned mount target ID.
243+
description: |-
244+
System-assigned mount target ID.
245+
246+
Regex Pattern: `^fsmt-[0-9a-f]{8,40}$`
236247
type: string
237248
networkInterfaceID:
238249
description: |-
239250
The ID of the network interface that Amazon EFS created when it created the
240251
mount target.
241252
type: string
242253
ownerID:
243-
description: Amazon Web Services account ID that owns the resource.
254+
description: |-
255+
Amazon Web Services account ID that owns the resource.
256+
257+
Regex Pattern: `^(\d{12})|(\d{4}-\d{4}-\d{4})$`
244258
type: string
245259
vpcID:
246260
description: The virtual private cloud (VPC) ID that the mount target

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ toolchain go1.24.1
77
require (
88
github.com/aws-controllers-k8s/ec2-controller v1.2.2
99
github.com/aws-controllers-k8s/kms-controller v1.0.9
10-
github.com/aws-controllers-k8s/runtime v0.46.1
10+
github.com/aws-controllers-k8s/runtime v0.47.0
1111
github.com/aws/aws-sdk-go v1.49.24
1212
github.com/aws/aws-sdk-go-v2 v1.34.0
1313
github.com/aws/aws-sdk-go-v2/service/efs v1.34.7

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ github.com/aws-controllers-k8s/ec2-controller v1.2.2 h1:ek/cGd76XTWQXe6185nxrmEm
22
github.com/aws-controllers-k8s/ec2-controller v1.2.2/go.mod h1:4e2L1aHo1fk3ihVTRmnhA6VJ2NSSoYPEf1GZNYYPwLw=
33
github.com/aws-controllers-k8s/kms-controller v1.0.9 h1:GZHSnuZBoWp9r6RaJ3siyDn5BRhDuaZJXtdBKeAiLSw=
44
github.com/aws-controllers-k8s/kms-controller v1.0.9/go.mod h1:Pnz0d5sly7dUgmYMDJWSRIKASOujJFi/b8N2q1qCLqU=
5-
github.com/aws-controllers-k8s/runtime v0.46.1 h1:61RU6uYiFSp0cDhv52vAmaPzrebzoudtsp1fGkk6iLk=
6-
github.com/aws-controllers-k8s/runtime v0.46.1/go.mod h1:G2UMBKA7qgXG4JV16NTIUp715uqvUEvWaa7TG1I527U=
5+
github.com/aws-controllers-k8s/runtime v0.47.0 h1:pWzMLrwAFrAmMuSukYDLrQp5Yw594w1ke6XWGmI3uyo=
6+
github.com/aws-controllers-k8s/runtime v0.47.0/go.mod h1:G2UMBKA7qgXG4JV16NTIUp715uqvUEvWaa7TG1I527U=
77
github.com/aws/aws-sdk-go v1.49.24 h1:2ekq9ZvaoB2aRbTDfARzgVGUBB9N8XD2QYhFmTBlp+c=
88
github.com/aws/aws-sdk-go v1.49.24/go.mod h1:LF8svs817+Nz+DmiMQKTO3ubZ/6IaTpq3TjupRn3Eqk=
99
github.com/aws/aws-sdk-go-v2 v1.34.0 h1:9iyL+cjifckRGEVpRKZP3eIxVlL06Qk1Tk13vreaVQU=

0 commit comments

Comments
 (0)