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

"show" command does not deduplicate apigroups with different versions #62

Closed
MaxRink opened this issue Nov 15, 2022 · 1 comment · Fixed by #63
Closed

"show" command does not deduplicate apigroups with different versions #62

MaxRink opened this issue Nov 15, 2022 · 1 comment · Fixed by #63
Labels
bug Something isn't working

Comments

@MaxRink
Copy link
Contributor

MaxRink commented Nov 15, 2022

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
Copy link
Contributor

@MaxRink v1.11.1 should address the duplicate policy rules

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants