Skip to content

Commit

Permalink
Update to ACK runtime v0.39.0, code-generator v0.39.1 (#23)
Browse files Browse the repository at this point in the history
### 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.
  • Loading branch information
ack-bot authored Oct 12, 2024
1 parent 6b9adc8 commit 26dd81c
Show file tree
Hide file tree
Showing 20 changed files with 141 additions and 363 deletions.
8 changes: 4 additions & 4 deletions apis/v1alpha1/ack-generate-metadata.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
ack_generate_info:
build_date: "2024-08-29T17:12:13Z"
build_hash: f8f98563404066ac3340db0a049d2e530e5c51cc
go_version: go1.22.5
version: v0.38.1
build_date: "2024-10-10T04:02:47Z"
build_hash: 36c2d234498c2bc4f60773ab8df632af4067f43b
go_version: go1.23.2
version: v0.39.1
api_directory_checksum: 3dac0a046021e0a9f5828ed93eb269ab4d4420a0
api_version: v1alpha1
aws_sdk_go_version: v1.50.0
Expand Down
2 changes: 1 addition & 1 deletion config/controller/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ kind: Kustomization
images:
- name: controller
newName: public.ecr.aws/aws-controllers-k8s/efs-controller
newTag: 1.0.0
newTag: 1.0.1
8 changes: 2 additions & 6 deletions config/crd/bases/efs.services.k8s.aws_accesspoints.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.14.0
controller-gen.kubebuilder.io/version: v0.16.2
name: accesspoints.efs.services.k8s.aws
spec:
group: efs.services.k8s.aws
Expand Down Expand Up @@ -71,7 +71,7 @@ spec:
fileSystemRef:
description: "AWSResourceReferenceWrapper provides a wrapper around
*AWSResourceReference\ntype to provide more user friendly syntax
for references using 'from' field\nEx:\nAPIIDRef:\n\n\n\tfrom:\n\t
for references using 'from' field\nEx:\nAPIIDRef:\n\n\tfrom:\n\t
\ name: my-api"
properties:
from:
Expand Down Expand Up @@ -112,7 +112,6 @@ spec:
an access point. When specifying a RootDirectory, you must provide the Path,
and the CreationInfo.
Amazon EFS creates a root directory only if you have provided the CreationInfo:
OwnUid, OwnGID, and permissions for the directory. If you do not provide
this information, Amazon EFS does not create the root directory. If the root
Expand All @@ -126,13 +125,11 @@ spec:
with these settings when a client connects to the access point. When specifying
CreationInfo, you must include values for all properties.
Amazon EFS creates a root directory only if you have provided the CreationInfo:
OwnUid, OwnGID, and permissions for the directory. If you do not provide
this information, Amazon EFS does not create the root directory. If the root
directory does not exist, attempts to mount using the access point will fail.
If you do not provide CreationInfo and the specified RootDirectory does not
exist, attempts to mount the file system using the access point will fail.
properties:
Expand Down Expand Up @@ -187,7 +184,6 @@ spec:
when it has verified that an "adopted" resource (a resource where the
ARN annotation was set by the Kubernetes user on the CR) exists and
matches the supplied CR's Spec field values.
TODO(vijat@): Find a better strategy for resources that do not have ARN in CreateOutputResponse
https://github.com/aws/aws-controllers-k8s/issues/270
type: string
ownerAccountID:
Expand Down
22 changes: 2 additions & 20 deletions config/crd/bases/efs.services.k8s.aws_filesystems.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.14.0
controller-gen.kubebuilder.io/version: v0.16.2
name: filesystems.efs.services.k8s.aws
spec:
group: efs.services.k8s.aws
Expand Down Expand Up @@ -81,7 +81,6 @@ spec:
systems, see Using EFS storage classes (https://docs.aws.amazon.com/efs/latest/ug/storage-classes.html)
in the Amazon EFS User Guide.
One Zone file systems are not available in all Availability Zones in Amazon
Web Services Regions where Amazon EFS is available.
type: string
Expand All @@ -93,11 +92,9 @@ spec:
For more information, see Automatic backups (https://docs.aws.amazon.com/efs/latest/ug/awsbackup.html#automatic-backups)
in the Amazon EFS User Guide.
Default is false. However, if you specify an AvailabilityZoneName, the default
is true.
Backup is not available in all Amazon Web Services Regions where Amazon EFS
is available.
type: boolean
Expand Down Expand Up @@ -127,31 +124,25 @@ spec:
KMS key. If this parameter is not specified, the default KMS key for Amazon
EFS is used. You can specify a KMS key ID using the following formats:
* Key ID - A unique identifier of the key, for example 1234abcd-12ab-34cd-56ef-1234567890ab.
* ARN - An Amazon Resource Name (ARN) for the key, for example arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab.
* Key alias - A previously created display name for a key, for example
alias/projectKey1.
* Key alias ARN - An ARN for a key alias, for example arn:aws:kms:us-west-2:444455556666:alias/projectKey1.
If you use KmsKeyId, you must set the CreateFileSystemRequest$Encrypted parameter
to true.
EFS accepts only symmetric KMS keys. You cannot use asymmetric KMS keys with
Amazon EFS file systems.
type: string
kmsKeyRef:
description: "AWSResourceReferenceWrapper provides a wrapper around
*AWSResourceReference\ntype to provide more user friendly syntax
for references using 'from' field\nEx:\nAPIIDRef:\n\n\n\tfrom:\n\t
for references using 'from' field\nEx:\nAPIIDRef:\n\n\tfrom:\n\t
\ name: my-api"
properties:
from:
Expand All @@ -171,11 +162,9 @@ spec:
object. A LifecycleConfiguration object informs EFS Lifecycle management
of the following:
* TransitionToIA – When to move files in the file system from primary
storage (Standard storage class) into the Infrequent Access (IA) storage.
* TransitionToArchive – When to move files in the file system from their
current storage class (either IA or Standard storage) into the Archive
storage. File systems cannot transition into Archive storage before transitioning
Expand All @@ -184,12 +173,10 @@ spec:
only for file systems that use the Elastic Throughput mode and the General
Purpose Performance mode.
* TransitionToPrimaryStorageClass – Whether to move files in the file
system back to primary storage (Standard storage class) after they are
accessed in IA or Archive storage.
When using the put-lifecycle-configuration CLI command or the PutLifecycleConfiguration
API action, Amazon EFS requires that each LifecyclePolicy object have only
a single transition. This means that in a request body, LifecyclePolicies
Expand All @@ -202,7 +189,6 @@ spec:
files into and out of storage classes. For more information, see Managing
file system storage (https://docs.aws.amazon.com/efs/latest/ug/lifecycle-management-efs.html).
When using the put-lifecycle-configuration CLI command or the PutLifecycleConfiguration
API action, Amazon EFS requires that each LifecyclePolicy object have only
a single transition. This means that in a request body, LifecyclePolicies
Expand All @@ -226,11 +212,9 @@ spec:
performance mode can't be changed after the file system has been created.
The maxIO mode is not supported on One Zone file systems.
Due to the higher per-operation latencies with Max I/O, we recommend using
General Purpose performance mode for all file systems.
Default is generalPurpose.
type: string
policy:
Expand Down Expand Up @@ -279,7 +263,6 @@ spec:
see Specifying throughput with provisioned mode (https://docs.aws.amazon.com/efs/latest/ug/performance.html#provisioned-throughput)
in the Amazon EFS User Guide.
Default is bursting.
type: string
type: object
Expand All @@ -300,7 +283,6 @@ spec:
when it has verified that an "adopted" resource (a resource where the
ARN annotation was set by the Kubernetes user on the CR) exists and
matches the supplied CR's Spec field values.
TODO(vijat@): Find a better strategy for resources that do not have ARN in CreateOutputResponse
https://github.com/aws/aws-controllers-k8s/issues/270
type: string
ownerAccountID:
Expand Down
9 changes: 4 additions & 5 deletions config/crd/bases/efs.services.k8s.aws_mounttargets.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.14.0
controller-gen.kubebuilder.io/version: v0.16.2
name: mounttargets.efs.services.k8s.aws
spec:
group: efs.services.k8s.aws
Expand Down Expand Up @@ -80,7 +80,7 @@ spec:
fileSystemRef:
description: "AWSResourceReferenceWrapper provides a wrapper around
*AWSResourceReference\ntype to provide more user friendly syntax
for references using 'from' field\nEx:\nAPIIDRef:\n\n\n\tfrom:\n\t
for references using 'from' field\nEx:\nAPIIDRef:\n\n\tfrom:\n\t
\ name: my-api"
properties:
from:
Expand All @@ -102,7 +102,7 @@ spec:
items:
description: "AWSResourceReferenceWrapper provides a wrapper around
*AWSResourceReference\ntype to provide more user friendly syntax
for references using 'from' field\nEx:\nAPIIDRef:\n\n\n\tfrom:\n\t
for references using 'from' field\nEx:\nAPIIDRef:\n\n\tfrom:\n\t
\ name: my-api"
properties:
from:
Expand Down Expand Up @@ -132,7 +132,7 @@ spec:
subnetRef:
description: "AWSResourceReferenceWrapper provides a wrapper around
*AWSResourceReference\ntype to provide more user friendly syntax
for references using 'from' field\nEx:\nAPIIDRef:\n\n\n\tfrom:\n\t
for references using 'from' field\nEx:\nAPIIDRef:\n\n\tfrom:\n\t
\ name: my-api"
properties:
from:
Expand Down Expand Up @@ -164,7 +164,6 @@ spec:
when it has verified that an "adopted" resource (a resource where the
ARN annotation was set by the Kubernetes user on the CR) exists and
matches the supplied CR's Spec field values.
TODO(vijat@): Find a better strategy for resources that do not have ARN in CreateOutputResponse
https://github.com/aws/aws-controllers-k8s/issues/270
type: string
ownerAccountID:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.14.0
controller-gen.kubebuilder.io/version: v0.16.2
name: adoptedresources.services.k8s.aws
spec:
group: services.k8s.aws
Expand Down Expand Up @@ -78,11 +78,9 @@ spec:
automatically converts this to an arbitrary string-string map.
https://github.com/kubernetes-sigs/controller-tools/issues/385
Active discussion about inclusion of this field in the spec is happening in this PR:
https://github.com/kubernetes-sigs/controller-tools/pull/395
Until this is allowed, or if it never is, we will produce a subset of the object meta
that contains only the fields which the user is allowed to modify in the metadata.
properties:
Expand All @@ -105,13 +103,11 @@ spec:
and may be truncated by the length of the suffix required to make the value
unique on the server.
If this field is specified and the generated name exists, the server will
NOT return a 409 - instead, it will either return 201 Created or 500 with Reason
ServerTimeout indicating a unique name could not be found in the time allotted, and the client
should retry (optionally after the time indicated in the Retry-After header).
Applied only if Name is not specified.
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency
type: string
Expand Down Expand Up @@ -140,7 +136,6 @@ spec:
Not all objects are required to be scoped to a namespace - the value of this field for
those objects will be empty.
Must be a DNS_LABEL.
Cannot be updated.
More info: http://kubernetes.io/docs/user-guide/namespaces
Expand Down
2 changes: 1 addition & 1 deletion config/crd/common/bases/services.k8s.aws_fieldexports.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.14.0
controller-gen.kubebuilder.io/version: v0.16.2
name: fieldexports.services.k8s.aws
spec:
group: services.k8s.aws
Expand Down
Loading

0 comments on commit 26dd81c

Please sign in to comment.