Skip to content

Commit 26dd81c

Browse files
authored
Update to ACK runtime v0.39.0, code-generator v0.39.1 (#23)
### Update to ACK runtime `v0.39.0`, code-generator `v0.39.1` ---------- * ACK code-generator `v0.39.1` [release notes](https://github.com/aws-controllers-k8s/code-generator/releases/tag/v0.39.1) * ACK runtime `v0.39.0` [release notes](https://github.com/aws-controllers-k8s/runtime/releases/tag/v0.39.0) ---------- NOTE: This PR increments the release version of service controller from `v1.0.0` to `v1.0.1` Once this PR is merged, release `v1.0.1` 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 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.1 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 6b9adc8 commit 26dd81c

20 files changed

+141
-363
lines changed

apis/v1alpha1/ack-generate-metadata.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
ack_generate_info:
2-
build_date: "2024-08-29T17:12:13Z"
3-
build_hash: f8f98563404066ac3340db0a049d2e530e5c51cc
4-
go_version: go1.22.5
5-
version: v0.38.1
2+
build_date: "2024-10-10T04:02:47Z"
3+
build_hash: 36c2d234498c2bc4f60773ab8df632af4067f43b
4+
go_version: go1.23.2
5+
version: v0.39.1
66
api_directory_checksum: 3dac0a046021e0a9f5828ed93eb269ab4d4420a0
77
api_version: v1alpha1
88
aws_sdk_go_version: v1.50.0

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.0
9+
newTag: 1.0.1

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

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
33
kind: CustomResourceDefinition
44
metadata:
55
annotations:
6-
controller-gen.kubebuilder.io/version: v0.14.0
6+
controller-gen.kubebuilder.io/version: v0.16.2
77
name: accesspoints.efs.services.k8s.aws
88
spec:
99
group: efs.services.k8s.aws
@@ -71,7 +71,7 @@ spec:
7171
fileSystemRef:
7272
description: "AWSResourceReferenceWrapper provides a wrapper around
7373
*AWSResourceReference\ntype to provide more user friendly syntax
74-
for references using 'from' field\nEx:\nAPIIDRef:\n\n\n\tfrom:\n\t
74+
for references using 'from' field\nEx:\nAPIIDRef:\n\n\tfrom:\n\t
7575
\ name: my-api"
7676
properties:
7777
from:
@@ -112,7 +112,6 @@ spec:
112112
an access point. When specifying a RootDirectory, you must provide the Path,
113113
and the CreationInfo.
114114
115-
116115
Amazon EFS creates a root directory only if you have provided the CreationInfo:
117116
OwnUid, OwnGID, and permissions for the directory. If you do not provide
118117
this information, Amazon EFS does not create the root directory. If the root
@@ -126,13 +125,11 @@ spec:
126125
with these settings when a client connects to the access point. When specifying
127126
CreationInfo, you must include values for all properties.
128127
129-
130128
Amazon EFS creates a root directory only if you have provided the CreationInfo:
131129
OwnUid, OwnGID, and permissions for the directory. If you do not provide
132130
this information, Amazon EFS does not create the root directory. If the root
133131
directory does not exist, attempts to mount using the access point will fail.
134132
135-
136133
If you do not provide CreationInfo and the specified RootDirectory does not
137134
exist, attempts to mount the file system using the access point will fail.
138135
properties:
@@ -187,7 +184,6 @@ spec:
187184
when it has verified that an "adopted" resource (a resource where the
188185
ARN annotation was set by the Kubernetes user on the CR) exists and
189186
matches the supplied CR's Spec field values.
190-
TODO(vijat@): Find a better strategy for resources that do not have ARN in CreateOutputResponse
191187
https://github.com/aws/aws-controllers-k8s/issues/270
192188
type: string
193189
ownerAccountID:

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

Lines changed: 2 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
33
kind: CustomResourceDefinition
44
metadata:
55
annotations:
6-
controller-gen.kubebuilder.io/version: v0.14.0
6+
controller-gen.kubebuilder.io/version: v0.16.2
77
name: filesystems.efs.services.k8s.aws
88
spec:
99
group: efs.services.k8s.aws
@@ -81,7 +81,6 @@ spec:
8181
systems, see Using EFS storage classes (https://docs.aws.amazon.com/efs/latest/ug/storage-classes.html)
8282
in the Amazon EFS User Guide.
8383
84-
8584
One Zone file systems are not available in all Availability Zones in Amazon
8685
Web Services Regions where Amazon EFS is available.
8786
type: string
@@ -93,11 +92,9 @@ spec:
9392
For more information, see Automatic backups (https://docs.aws.amazon.com/efs/latest/ug/awsbackup.html#automatic-backups)
9493
in the Amazon EFS User Guide.
9594
96-
9795
Default is false. However, if you specify an AvailabilityZoneName, the default
9896
is true.
9997
100-
10198
Backup is not available in all Amazon Web Services Regions where Amazon EFS
10299
is available.
103100
type: boolean
@@ -127,31 +124,25 @@ spec:
127124
KMS key. If this parameter is not specified, the default KMS key for Amazon
128125
EFS is used. You can specify a KMS key ID using the following formats:
129126
130-
131127
* Key ID - A unique identifier of the key, for example 1234abcd-12ab-34cd-56ef-1234567890ab.
132128
133-
134129
* ARN - An Amazon Resource Name (ARN) for the key, for example arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab.
135130
136-
137131
* Key alias - A previously created display name for a key, for example
138132
alias/projectKey1.
139133
140-
141134
* Key alias ARN - An ARN for a key alias, for example arn:aws:kms:us-west-2:444455556666:alias/projectKey1.
142135
143-
144136
If you use KmsKeyId, you must set the CreateFileSystemRequest$Encrypted parameter
145137
to true.
146138
147-
148139
EFS accepts only symmetric KMS keys. You cannot use asymmetric KMS keys with
149140
Amazon EFS file systems.
150141
type: string
151142
kmsKeyRef:
152143
description: "AWSResourceReferenceWrapper provides a wrapper around
153144
*AWSResourceReference\ntype to provide more user friendly syntax
154-
for references using 'from' field\nEx:\nAPIIDRef:\n\n\n\tfrom:\n\t
145+
for references using 'from' field\nEx:\nAPIIDRef:\n\n\tfrom:\n\t
155146
\ name: my-api"
156147
properties:
157148
from:
@@ -171,11 +162,9 @@ spec:
171162
object. A LifecycleConfiguration object informs EFS Lifecycle management
172163
of the following:
173164
174-
175165
* TransitionToIA – When to move files in the file system from primary
176166
storage (Standard storage class) into the Infrequent Access (IA) storage.
177167
178-
179168
* TransitionToArchive – When to move files in the file system from their
180169
current storage class (either IA or Standard storage) into the Archive
181170
storage. File systems cannot transition into Archive storage before transitioning
@@ -184,12 +173,10 @@ spec:
184173
only for file systems that use the Elastic Throughput mode and the General
185174
Purpose Performance mode.
186175
187-
188176
* TransitionToPrimaryStorageClass – Whether to move files in the file
189177
system back to primary storage (Standard storage class) after they are
190178
accessed in IA or Archive storage.
191179
192-
193180
When using the put-lifecycle-configuration CLI command or the PutLifecycleConfiguration
194181
API action, Amazon EFS requires that each LifecyclePolicy object have only
195182
a single transition. This means that in a request body, LifecyclePolicies
@@ -202,7 +189,6 @@ spec:
202189
files into and out of storage classes. For more information, see Managing
203190
file system storage (https://docs.aws.amazon.com/efs/latest/ug/lifecycle-management-efs.html).
204191
205-
206192
When using the put-lifecycle-configuration CLI command or the PutLifecycleConfiguration
207193
API action, Amazon EFS requires that each LifecyclePolicy object have only
208194
a single transition. This means that in a request body, LifecyclePolicies
@@ -226,11 +212,9 @@ spec:
226212
performance mode can't be changed after the file system has been created.
227213
The maxIO mode is not supported on One Zone file systems.
228214
229-
230215
Due to the higher per-operation latencies with Max I/O, we recommend using
231216
General Purpose performance mode for all file systems.
232217
233-
234218
Default is generalPurpose.
235219
type: string
236220
policy:
@@ -279,7 +263,6 @@ spec:
279263
see Specifying throughput with provisioned mode (https://docs.aws.amazon.com/efs/latest/ug/performance.html#provisioned-throughput)
280264
in the Amazon EFS User Guide.
281265
282-
283266
Default is bursting.
284267
type: string
285268
type: object
@@ -300,7 +283,6 @@ spec:
300283
when it has verified that an "adopted" resource (a resource where the
301284
ARN annotation was set by the Kubernetes user on the CR) exists and
302285
matches the supplied CR's Spec field values.
303-
TODO(vijat@): Find a better strategy for resources that do not have ARN in CreateOutputResponse
304286
https://github.com/aws/aws-controllers-k8s/issues/270
305287
type: string
306288
ownerAccountID:

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

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
33
kind: CustomResourceDefinition
44
metadata:
55
annotations:
6-
controller-gen.kubebuilder.io/version: v0.14.0
6+
controller-gen.kubebuilder.io/version: v0.16.2
77
name: mounttargets.efs.services.k8s.aws
88
spec:
99
group: efs.services.k8s.aws
@@ -80,7 +80,7 @@ spec:
8080
fileSystemRef:
8181
description: "AWSResourceReferenceWrapper provides a wrapper around
8282
*AWSResourceReference\ntype to provide more user friendly syntax
83-
for references using 'from' field\nEx:\nAPIIDRef:\n\n\n\tfrom:\n\t
83+
for references using 'from' field\nEx:\nAPIIDRef:\n\n\tfrom:\n\t
8484
\ name: my-api"
8585
properties:
8686
from:
@@ -102,7 +102,7 @@ spec:
102102
items:
103103
description: "AWSResourceReferenceWrapper provides a wrapper around
104104
*AWSResourceReference\ntype to provide more user friendly syntax
105-
for references using 'from' field\nEx:\nAPIIDRef:\n\n\n\tfrom:\n\t
105+
for references using 'from' field\nEx:\nAPIIDRef:\n\n\tfrom:\n\t
106106
\ name: my-api"
107107
properties:
108108
from:
@@ -132,7 +132,7 @@ spec:
132132
subnetRef:
133133
description: "AWSResourceReferenceWrapper provides a wrapper around
134134
*AWSResourceReference\ntype to provide more user friendly syntax
135-
for references using 'from' field\nEx:\nAPIIDRef:\n\n\n\tfrom:\n\t
135+
for references using 'from' field\nEx:\nAPIIDRef:\n\n\tfrom:\n\t
136136
\ name: my-api"
137137
properties:
138138
from:
@@ -164,7 +164,6 @@ spec:
164164
when it has verified that an "adopted" resource (a resource where the
165165
ARN annotation was set by the Kubernetes user on the CR) exists and
166166
matches the supplied CR's Spec field values.
167-
TODO(vijat@): Find a better strategy for resources that do not have ARN in CreateOutputResponse
168167
https://github.com/aws/aws-controllers-k8s/issues/270
169168
type: string
170169
ownerAccountID:

config/crd/common/bases/services.k8s.aws_adoptedresources.yaml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
33
kind: CustomResourceDefinition
44
metadata:
55
annotations:
6-
controller-gen.kubebuilder.io/version: v0.14.0
6+
controller-gen.kubebuilder.io/version: v0.16.2
77
name: adoptedresources.services.k8s.aws
88
spec:
99
group: services.k8s.aws
@@ -78,11 +78,9 @@ spec:
7878
automatically converts this to an arbitrary string-string map.
7979
https://github.com/kubernetes-sigs/controller-tools/issues/385
8080
81-
8281
Active discussion about inclusion of this field in the spec is happening in this PR:
8382
https://github.com/kubernetes-sigs/controller-tools/pull/395
8483
85-
8684
Until this is allowed, or if it never is, we will produce a subset of the object meta
8785
that contains only the fields which the user is allowed to modify in the metadata.
8886
properties:
@@ -105,13 +103,11 @@ spec:
105103
and may be truncated by the length of the suffix required to make the value
106104
unique on the server.
107105
108-
109106
If this field is specified and the generated name exists, the server will
110107
NOT return a 409 - instead, it will either return 201 Created or 500 with Reason
111108
ServerTimeout indicating a unique name could not be found in the time allotted, and the client
112109
should retry (optionally after the time indicated in the Retry-After header).
113110
114-
115111
Applied only if Name is not specified.
116112
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency
117113
type: string
@@ -140,7 +136,6 @@ spec:
140136
Not all objects are required to be scoped to a namespace - the value of this field for
141137
those objects will be empty.
142138
143-
144139
Must be a DNS_LABEL.
145140
Cannot be updated.
146141
More info: http://kubernetes.io/docs/user-guide/namespaces

config/crd/common/bases/services.k8s.aws_fieldexports.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
33
kind: CustomResourceDefinition
44
metadata:
55
annotations:
6-
controller-gen.kubebuilder.io/version: v0.14.0
6+
controller-gen.kubebuilder.io/version: v0.16.2
77
name: fieldexports.services.k8s.aws
88
spec:
99
group: services.k8s.aws

0 commit comments

Comments
 (0)