-
Notifications
You must be signed in to change notification settings - Fork 190
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
update for default resource tags #335
Conversation
Note to reviewer: controller-tests expected to fail due to Locally tested that this code-generator change works as expected. |
👍🏼 Will wait for the runtime PR to be merged |
/hold |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Merging this as-is. It looks like we need to update the tests to modify the go.mod files for dynamodb/ecr/s3 controllers to the being-updated-to ACK runtime version?
@jaypipes We still don't have the part that generates |
/unhold |
Note to reviewer: DynamoDB, S3, ECR tests are expected to fail because they need an update inside their Failures in this PR are because the default top level |
pkg/testdata/models/apis/s3/0000-00-00/generator-with-tags.yaml
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
great start, @vijtrip2! few notes inline but overall looking good.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just had 2 more nits. But I think the functionality and logic is all solid.
@vijtrip2: The following tests failed, say
Full PR test history. Your PR dashboard. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Rock on brother Vijay :) Really smooth work. ++
} else { | ||
elemAccessPrefix = fmt.Sprintf("%s%s", elemAccessPrefix, | ||
r.Config().PrefixConfig.StatusField) | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: A-Hilaly, jaypipes, RedbackThomson, vijtrip2 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 |
Issue #, if available: aws-controllers-k8s/community#1261
Description of changes:
service.k8s.aws/managed=true
andservices.k8s.aws/created=%UTC_NOW%
tags and adds the newservices.k8s.aws/controller-version=%CONTROLLER_VERSION%
tag as resource-tags input for ACK controller.v0.19.0
TagConfig
field insideResourceConfig
AWSResourceManager.EnsureTags()
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.