generated from amazon-archives/__template_Apache-2.0
-
Notifications
You must be signed in to change notification settings - Fork 271
Closed
Labels
kind/bugCategorizes issue or PR as related to a bug.Categorizes issue or PR as related to a bug.service/iamIndicates issues or PRs that are related to iam-controller.Indicates issues or PRs that are related to iam-controller.
Description
Describe the bug
When I change the .spec.name field in an already synced roles.iam resource, a new role with the updated name is effectively created, but the old IAM role is not deleted.
Steps to reproduce
- create a valid
roles.iamresource with.spec.name = foo - wait for it to be successfully reconciled (the IAM role
fooshould now exist) - patch the resource by modifying
.spec.name = bar - wait for it to be successfully reconciled (the IAM role
barshould now exist) - the IAM role
foostill exists but is not managed anymore by the ACK IAM controller
Expected outcome
The old IAM role should be deleted, as if the role.iam resource has been deleted.
Environment
- Kubernetes version
1.30
- Using EKS (yes/no), if so version?
yes : eks.24
- AWS service targeted (S3, RDS, etc.)
IAM controller, v1.3.13
Metadata
Metadata
Assignees
Labels
kind/bugCategorizes issue or PR as related to a bug.Categorizes issue or PR as related to a bug.service/iamIndicates issues or PRs that are related to iam-controller.Indicates issues or PRs that are related to iam-controller.