Skip to content
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

fix(iam/role): isUpToDate ignore roleLastUsed + add to status #1969

Merged
merged 1 commit into from
Dec 11, 2023

Conversation

wotolom
Copy link
Contributor

@wotolom wotolom commented Dec 6, 2023

Description of your changes

for iam.Role:

  • fix update loop by ignoring observed parameter RoleLastUsed in isUpToDate()
  • add createDate and roleLastUsed to status.atProvider (API/CRD addition + controller logic)
  • update unit tests

Fixes #1968

I have:

  • Read and followed Crossplane's [contribution process].
  • Run make reviewable test to ensure this PR is ready for review.

How has this code been tested

manually + unit tests

Signed-off-by: Charel Baum (external expert on behalf of DB Netz AG) <charel.baum-extern@deutschebahn.com>
Copy link
Collaborator

@MisterMX MisterMX left a comment

Choose a reason for hiding this comment

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

LGTM. Thank you very much @wotolom!

@MisterMX MisterMX merged commit 685d467 into crossplane-contrib:master Dec 11, 2023
9 checks passed
@wotolom wotolom deleted the iam-role-lastused-fix branch December 11, 2023 12:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

IAM Role possible update-loop due to RoleLastUsed
2 participants