fix: adding a new IAMRoleSelected condition should check for existing IAMRoleSelected condition types - #266
Conversation
…ng `IAMRoleSelected` condition types
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: ramasai1 The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
Hi @ramasai1. 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 Regular contributors should join the org to skip this step. Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. DetailsInstructions 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-sigs/prow repository. |
|
/ok-to-test |
|
/retest |
|
@michaelhtm - I am looking at the test logs and the failures seem unrelated to my change. Any ideas on what could be going wrong? |
|
@ramasai1 looks like a flaky test issue due to resource limit of the test account. Going to rerun them. |
|
@ramasai1: The following test failed, say
Full PR test history. Your PR dashboard. DetailsInstructions 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-sigs/prow repository. I understand the commands that are listed here. |
The IAMRoleSelected condition setter was matching erroneously on the
ReferencesResolvedcondition to find existing conditions, which would produce a result like:for a VPC resource (or any other resource that has no references to resolve). Not sure if I should also add in logic to remove extra condition types there might be of the same type - though that should probably generally apply to all condition types.