boskos: AWS janitor not cleaning up all of the resources #11471
Labels
area/boskos
Issues or PRs related to code in /boskos
kind/bug
Categorizes issue or PR as related to a bug.
lifecycle/rotten
Denotes an issue or PR that has aged beyond stale and will be auto-closed.
/area boskos
What happened:
aws-janitor
seems to omit several resources that should be cleaned up.What you expected to happen:
All of the AWS resources related to the Cluster API Provider for AWS (CAPA) to be cleaned up.
The resources with
cluster-api-provider-aws.sigs.k8s.io
in the name in the above output fromwas-janitor
are related to CAPA and should be removed.control-plane.cluster-api-provider-aws.sigs.k8s.io
arn:aws:iam::391560157427:instance-profile/control-plane.cluster-api-provider-aws.sigs.k8s.io
controllers.cluster-api-provider-aws.sigs.k8s.io
arn:aws:iam::391560157427:instance-profile/controllers.cluster-api-provider-aws.sigs.k8s.io
How to reproduce it (as minimally and precisely as possible):
Deploy a cluster with CAPA and then run the janitor. The janitor logs indicate several CAPA-related resources as unmanaged and subsequently these resources are not cleaned up.
The PR branch kubernetes-sigs/cluster-api-provider-aws#606 may be used to execute
make e2e
at the root of the CAPA project to deploy a cluster and run the janitor.Please provide links to example occurrences, if any:
Anything else we need to know?:
I am not sure if this issue should be created in the CAPA repo or here, but since the code for the janitor lives here, I created the issue here.
Because #1142 is not merged, the
aws-janitor
binary was compiled manually from the PR branch./cc @detiber @vincepri
The text was updated successfully, but these errors were encountered: