Skip to content

Conversation

@jaypipes
Copy link
Contributor

The S3 controller was not successfully being generated with ACK
runtime v0.20.1. An error was being thrown during deepcopy-gen. Turns
out that aws-sdk-go v1.44.93, which was brought in because it is used for
latest code-generator, added a few fields to the S3 Bucket. One of these
fields is NotificationConfiguration.EventBridgeConfiguration and it is an
empty struct with no fields. Looks like S3 team just added it into the API
model without finishing the thought... anyway, ignoring this field in the
generator.yaml file enabled the code-generator to successfully complete.

Signed-off-by: Jay Pipes jaypipes@gmail.com

Issue aws-controllers-k8s/community#1475

By submitting this pull request, I confirm that my contribution is made
under the terms of the Apache 2.0 license.

The S3 controller was not successfully being generated with ACK runtime v0.20.1. An error was being thrown during deepcopy-gen. Turns out that aws-sdk-go v1.44.93, which was brought in because it is used for latest code-generator, added a few fields to the S3 Bucket. One of these fields is `NotificationConfiguration.EventBridgeConfiguration` and it is an empty struct with no fields. Looks like S3 team just added it into the API model without finishing the thought... anyway, ignoring this field in the generator.yaml file enabled the code-generator to successfully complete. Signed-off-by: Jay Pipes <jaypipes@gmail.com>
@jaypipes jaypipes removed the request for review from a-hilaly November 11, 2022 15:57
@jaypipes jaypipes requested review from a-hilaly and jljaco November 11, 2022 15:57
Copy link
Member

@a-hilaly a-hilaly left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice one @jaypipes, thank you!
/lgtm

@ack-bot ack-bot added the lgtm Indicates that a PR is ready to be merged. label Nov 11, 2022
@ack-bot
Copy link
Collaborator

ack-bot commented Nov 11, 2022

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: A-Hilaly, jaypipes

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@ack-bot ack-bot merged commit 9adb770 into aws-controllers-k8s:main Nov 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved lgtm Indicates that a PR is ready to be merged.

3 participants