"show" command does not deduplicate apigroups with different versions
MaxRink opened this issue · 1 comments
MaxRink commented
What happened:
When running "show" against an 1.23 cluster ive noticed some rbac rules are duplicated.
Namely
"autoscaling" and "policy"
I took a look at why this is happening and found basically the same groups with different versions get iterated over
What you expected to happen:
Groups with different versions get merged
How to reproduce it (as minimally and precisely as possible):
run against a cluster that has multiple versions of resources
Anything else we need to know?:
Environment:
- Kubernetes version (use
kubectl version
): 1.23.13 - Cloud provider or configuration:
- Install tools:
- Others:
gadinaor-r7 commented