-
Notifications
You must be signed in to change notification settings - Fork 36
ISSUE-2337 IAM service linked role support #134
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
base: main
Are you sure you want to change the base?
Conversation
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: sga80 The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Hi @sga80. Thanks for your PR. I'm waiting for a aws-controllers-k8s member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. 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. |
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.
Thank you @sga80!!
left a few inline comments.
/ok-to-test
@@ -6,4 +6,4 @@ kind: Kustomization | |||
images: | |||
- name: controller | |||
newName: public.ecr.aws/aws-controllers-k8s/iam-controller | |||
newTag: 1.3.20 | |||
newTag: 0.0.0-non-release-version |
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.
can you pull the latest tags?
go_version: go1.24.2 | ||
version: v0.45.0 | ||
api_directory_checksum: 7e1c19231d3275a1147157f6943a7391953f7001 | ||
version: v0.44.0-3-g0909e7f |
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.
we made a new release for code-generator with v0.45.0.
find_operation: | ||
custom_method_name: customGetServiceLinkedRole |
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.
can we do this instead? https://github.com/aws-controllers-k8s/ec2-controller/blob/cfbaec9206c64a720c4b2ce89d691b8c30715995/generator.yaml#L287-L291
We can use GetRole as operation and READ_ONE as operation_type
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.
should we mark all fields as immutable? except Description
@@ -0,0 +1 @@ | |||
ackcondition.SetSynced(&resource{ko}, corev1.ConditionFalse, nil, nil) |
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.
is there a reason for this?
@sga80: The following test 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. |
Issue #2337, if available:
Description of changes:
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
Tested this E2E . The test TestServiceLinkedRole passed , however 2 other unrelated tests failed, probably because of my setup.
