-
Notifications
You must be signed in to change notification settings - Fork 98
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
Find Empty namespaces #92
Comments
hey @yonahd I would like to work on that, please. |
Yes. It should be with no resources except for the default service account |
Thanks, I already started working on this, and on my Kind cluster there is an auto-generated "kube-root-ca.crt' configmap that we might also want to add as an exception. wdyt? |
I see we even have a |
Yes. This is default as well |
Hi @yonahd, I'd like to address this issue. Are the default resources, such as the service account and |
This is consistent. We want to take an approach similar to https://github.com/corneliusweig/ketall/tree/master |
I took time to view the implementation of Ketall. It constructs a slice of resource names with the API resources ( Do you want me to see the logic of Do().Object() @yonahd? |
The thing I am confused about is that though we find all the resource types, create a builder from |
@roopeshsn We don't find all resources. |
Exactly! Ketall finds the namespace resources using the |
The above PR is still WIP - lacks parallel namespace processing and unit tests |
Added some unit tests and recently rabased once more, @yonahd would it be possible for you to review and either accept or refuse this PR ? |
Find namespaces with no resources
The text was updated successfully, but these errors were encountered: