Skip to content

Commit bf5a86c

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

File tree

8 files changed

+85
-146
lines changed

8 files changed

+85
-146
lines changed
 

‎apis/v1alpha1/ack-generate-metadata.yaml

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
ack_generate_info:
2-
build_date: "2025-02-18T00:59:10Z"
3-
build_hash: 66c0f840b0bcf6f552be46cf5ee0fb95ad57053e
4-
go_version: go1.23.6
5-
version: v0.43.0
6-
api_directory_checksum: 12d59cc27a5fc11bf285d7735d81240e980b1046
2+
build_date: "2025-02-19T23:05:44Z"
3+
build_hash: 8b426c490ff1984d8ce5577e11d6dabe1b6373b8
4+
go_version: go1.24.0
5+
version: v0.43.1
6+
api_directory_checksum: e7fabb47e5e36c00e9a58d680d105facdc5849fe
77
api_version: v1alpha1
88
aws_sdk_go_version: v1.32.6
99
generator_config_info:

‎apis/v1alpha1/bucket.go

+41-12
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎config/controller/kustomization.yaml

+1-1
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/s3-controller
9-
newTag: 1.0.23
9+
newTag: 1.0.24

‎config/crd/bases/s3.services.k8s.aws_buckets.yaml

+17-62
Original file line numberDiff line numberDiff line change
@@ -43,16 +43,15 @@ spec:
4343
In terms of implementation, a Bucket is a resource.
4444
properties:
4545
accelerate:
46-
description: Container for setting the transfer acceleration state.
46+
description: |-
47+
Configures the transfer acceleration state for an Amazon S3 bucket. For more
48+
information, see Amazon S3 Transfer Acceleration (https://docs.aws.amazon.com/AmazonS3/latest/dev/transfer-acceleration.html)
49+
in the Amazon S3 User Guide.
4750
properties:
4851
status:
4952
type: string
5053
type: object
5154
acl:
52-
description: |-
53-
The canned ACL to apply to the bucket.
54-
55-
This functionality is not supported for directory buckets.
5655
type: string
5756
analytics:
5857
items:
@@ -225,38 +224,14 @@ spec:
225224
type: array
226225
type: object
227226
grantFullControl:
228-
description: |-
229-
Allows grantee the read, write, read ACP, and write ACP permissions on the
230-
bucket.
231-
232-
This functionality is not supported for directory buckets.
233227
type: string
234228
grantRead:
235-
description: |-
236-
Allows grantee to list the objects in the bucket.
237-
238-
This functionality is not supported for directory buckets.
239229
type: string
240230
grantReadACP:
241-
description: |-
242-
Allows grantee to read the bucket ACL.
243-
244-
This functionality is not supported for directory buckets.
245231
type: string
246232
grantWrite:
247-
description: |-
248-
Allows grantee to create new objects in the bucket.
249-
250-
For the bucket and object owners of existing objects, also allows deletions
251-
and overwrites of those objects.
252-
253-
This functionality is not supported for directory buckets.
254233
type: string
255234
grantWriteACP:
256-
description: |-
257-
Allows grantee to write the ACL for the applicable bucket.
258-
259-
This functionality is not supported for directory buckets.
260235
type: string
261236
intelligentTiering:
262237
items:
@@ -388,8 +363,10 @@ spec:
388363
type: object
389364
type: array
390365
lifecycle:
391-
description: Container for lifecycle rules. You can add as many as
392-
1,000 rules.
366+
description: |-
367+
Specifies the lifecycle configuration for objects in an Amazon S3 bucket.
368+
For more information, see Object Lifecycle Management (https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lifecycle-mgmt.html)
369+
in the Amazon S3 User Guide.
393370
properties:
394371
rules:
395372
items:
@@ -643,21 +620,6 @@ spec:
643620
type: object
644621
type: array
645622
name:
646-
description: |-
647-
The name of the bucket to create.
648-
649-
General purpose buckets - For information about bucket naming restrictions,
650-
see Bucket naming rules (https://docs.aws.amazon.com/AmazonS3/latest/userguide/bucketnamingrules.html)
651-
in the Amazon S3 User Guide.
652-
653-
Directory buckets - When you use this operation with a directory bucket,
654-
you must use path-style requests in the format https://s3express-control.region-code.amazonaws.com/bucket-name
655-
. Virtual-hosted-style requests aren't supported. Directory bucket names
656-
must be unique in the chosen Zone (Availability Zone or Local Zone). Bucket
657-
names must also follow the format bucket-base-name--zone-id--x-s3 (for example,
658-
DOC-EXAMPLE-BUCKET--usw2-az1--x-s3). For information about bucket naming
659-
restrictions, see Directory bucket naming rules (https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-bucket-naming-rules.html)
660-
in the Amazon S3 User Guide
661623
type: string
662624
notification:
663625
description: |-
@@ -828,17 +790,11 @@ spec:
828790
type: array
829791
type: object
830792
objectLockEnabledForBucket:
831-
description: |-
832-
Specifies whether you want S3 Object Lock to be enabled for the new bucket.
833-
834-
This functionality is not supported for directory buckets.
835793
type: boolean
836794
objectOwnership:
837795
type: string
838796
ownershipControls:
839-
description: |-
840-
The OwnershipControls (BucketOwnerEnforced, BucketOwnerPreferred, or ObjectWriter)
841-
that you want to apply to this Amazon S3 bucket.
797+
description: The container element for a bucket's ownership controls.
842798
properties:
843799
rules:
844800
items:
@@ -877,11 +833,6 @@ spec:
877833
type: array
878834
type: object
879835
policy:
880-
description: |-
881-
The bucket policy as a JSON document.
882-
883-
For directory buckets, the only IAM action supported in the bucket policy
884-
is s3express:CreateSession.
885836
type: string
886837
publicAccessBlock:
887838
description: |-
@@ -1106,7 +1057,7 @@ spec:
11061057
type: string
11071058
type: object
11081059
tagging:
1109-
description: Container for the TagSet and Tag elements.
1060+
description: Container for TagSet elements.
11101061
properties:
11111062
tagSet:
11121063
items:
@@ -1120,13 +1071,17 @@ spec:
11201071
type: array
11211072
type: object
11221073
versioning:
1123-
description: Container for setting the versioning state.
1074+
description: |-
1075+
Describes the versioning state of an Amazon S3 bucket. For more information,
1076+
see PUT Bucket versioning (https://docs.aws.amazon.com/AmazonS3/latest/API/RESTBucketPUTVersioningStatus.html)
1077+
in the Amazon S3 API Reference.
11241078
properties:
11251079
status:
11261080
type: string
11271081
type: object
11281082
website:
1129-
description: Container for the request.
1083+
description: Specifies website configuration parameters for an Amazon
1084+
S3 bucket.
11301085
properties:
11311086
errorDocument:
11321087
description: The error information.
@@ -1226,7 +1181,7 @@ spec:
12261181
type: object
12271182
conditions:
12281183
description: |-
1229-
All CRS managed by ACK have a common `Status.Conditions` member that
1184+
All CRs managed by ACK have a common `Status.Conditions` member that
12301185
contains a collection of `ackv1alpha1.Condition` objects that describe
12311186
the various terminal states of the CR and its backend AWS service API
12321187
resource

‎helm/Chart.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
apiVersion: v1
22
name: s3-chart
33
description: A Helm chart for the ACK service controller for Amazon Simple Storage Service (S3)
4-
version: 1.0.23
5-
appVersion: 1.0.23
4+
version: 1.0.24
5+
appVersion: 1.0.24
66
home: https://github.com/aws-controllers-k8s/s3-controller
77
icon: https://raw.githubusercontent.com/aws/eks-charts/master/docs/logo/aws.png
88
sources:

‎helm/crds/s3.services.k8s.aws_buckets.yaml

+17-62
Original file line numberDiff line numberDiff line change
@@ -43,16 +43,15 @@ spec:
4343
In terms of implementation, a Bucket is a resource.
4444
properties:
4545
accelerate:
46-
description: Container for setting the transfer acceleration state.
46+
description: |-
47+
Configures the transfer acceleration state for an Amazon S3 bucket. For more
48+
information, see Amazon S3 Transfer Acceleration (https://docs.aws.amazon.com/AmazonS3/latest/dev/transfer-acceleration.html)
49+
in the Amazon S3 User Guide.
4750
properties:
4851
status:
4952
type: string
5053
type: object
5154
acl:
52-
description: |-
53-
The canned ACL to apply to the bucket.
54-
55-
This functionality is not supported for directory buckets.
5655
type: string
5756
analytics:
5857
items:
@@ -225,38 +224,14 @@ spec:
225224
type: array
226225
type: object
227226
grantFullControl:
228-
description: |-
229-
Allows grantee the read, write, read ACP, and write ACP permissions on the
230-
bucket.
231-
232-
This functionality is not supported for directory buckets.
233227
type: string
234228
grantRead:
235-
description: |-
236-
Allows grantee to list the objects in the bucket.
237-
238-
This functionality is not supported for directory buckets.
239229
type: string
240230
grantReadACP:
241-
description: |-
242-
Allows grantee to read the bucket ACL.
243-
244-
This functionality is not supported for directory buckets.
245231
type: string
246232
grantWrite:
247-
description: |-
248-
Allows grantee to create new objects in the bucket.
249-
250-
For the bucket and object owners of existing objects, also allows deletions
251-
and overwrites of those objects.
252-
253-
This functionality is not supported for directory buckets.
254233
type: string
255234
grantWriteACP:
256-
description: |-
257-
Allows grantee to write the ACL for the applicable bucket.
258-
259-
This functionality is not supported for directory buckets.
260235
type: string
261236
intelligentTiering:
262237
items:
@@ -388,8 +363,10 @@ spec:
388363
type: object
389364
type: array
390365
lifecycle:
391-
description: Container for lifecycle rules. You can add as many as
392-
1,000 rules.
366+
description: |-
367+
Specifies the lifecycle configuration for objects in an Amazon S3 bucket.
368+
For more information, see Object Lifecycle Management (https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lifecycle-mgmt.html)
369+
in the Amazon S3 User Guide.
393370
properties:
394371
rules:
395372
items:
@@ -643,21 +620,6 @@ spec:
643620
type: object
644621
type: array
645622
name:
646-
description: |-
647-
The name of the bucket to create.
648-
649-
General purpose buckets - For information about bucket naming restrictions,
650-
see Bucket naming rules (https://docs.aws.amazon.com/AmazonS3/latest/userguide/bucketnamingrules.html)
651-
in the Amazon S3 User Guide.
652-
653-
Directory buckets - When you use this operation with a directory bucket,
654-
you must use path-style requests in the format https://s3express-control.region-code.amazonaws.com/bucket-name
655-
. Virtual-hosted-style requests aren't supported. Directory bucket names
656-
must be unique in the chosen Zone (Availability Zone or Local Zone). Bucket
657-
names must also follow the format bucket-base-name--zone-id--x-s3 (for example,
658-
DOC-EXAMPLE-BUCKET--usw2-az1--x-s3). For information about bucket naming
659-
restrictions, see Directory bucket naming rules (https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-bucket-naming-rules.html)
660-
in the Amazon S3 User Guide
661623
type: string
662624
notification:
663625
description: |-
@@ -828,17 +790,11 @@ spec:
828790
type: array
829791
type: object
830792
objectLockEnabledForBucket:
831-
description: |-
832-
Specifies whether you want S3 Object Lock to be enabled for the new bucket.
833-
834-
This functionality is not supported for directory buckets.
835793
type: boolean
836794
objectOwnership:
837795
type: string
838796
ownershipControls:
839-
description: |-
840-
The OwnershipControls (BucketOwnerEnforced, BucketOwnerPreferred, or ObjectWriter)
841-
that you want to apply to this Amazon S3 bucket.
797+
description: The container element for a bucket's ownership controls.
842798
properties:
843799
rules:
844800
items:
@@ -877,11 +833,6 @@ spec:
877833
type: array
878834
type: object
879835
policy:
880-
description: |-
881-
The bucket policy as a JSON document.
882-
883-
For directory buckets, the only IAM action supported in the bucket policy
884-
is s3express:CreateSession.
885836
type: string
886837
publicAccessBlock:
887838
description: |-
@@ -1106,7 +1057,7 @@ spec:
11061057
type: string
11071058
type: object
11081059
tagging:
1109-
description: Container for the TagSet and Tag elements.
1060+
description: Container for TagSet elements.
11101061
properties:
11111062
tagSet:
11121063
items:
@@ -1120,13 +1071,17 @@ spec:
11201071
type: array
11211072
type: object
11221073
versioning:
1123-
description: Container for setting the versioning state.
1074+
description: |-
1075+
Describes the versioning state of an Amazon S3 bucket. For more information,
1076+
see PUT Bucket versioning (https://docs.aws.amazon.com/AmazonS3/latest/API/RESTBucketPUTVersioningStatus.html)
1077+
in the Amazon S3 API Reference.
11241078
properties:
11251079
status:
11261080
type: string
11271081
type: object
11281082
website:
1129-
description: Container for the request.
1083+
description: Specifies website configuration parameters for an Amazon
1084+
S3 bucket.
11301085
properties:
11311086
errorDocument:
11321087
description: The error information.
@@ -1226,7 +1181,7 @@ spec:
12261181
type: object
12271182
conditions:
12281183
description: |-
1229-
All CRS managed by ACK have a common `Status.Conditions` member that
1184+
All CRs managed by ACK have a common `Status.Conditions` member that
12301185
contains a collection of `ackv1alpha1.Condition` objects that describe
12311186
the various terminal states of the CR and its backend AWS service API
12321187
resource

‎helm/templates/NOTES.txt

+1-1
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/s3-controller:1.0.23".
2+
This chart deploys "public.ecr.aws/aws-controllers-k8s/s3-controller:1.0.24".
33

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

‎helm/values.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

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

0 commit comments

Comments
 (0)
Please sign in to comment.