cilium / cilium-cli

CLI to install, manage & troubleshoot Kubernetes clusters running Cilium
https://cilium.io
Apache License 2.0
428 stars 209 forks source link

sysdump: don't hardcode custom resource api versions #2485

Open michi-covalent opened 6 months ago

michi-covalent commented 6 months ago

currently sysdump hardcodes some custom resource api versions in https://github.com/cilium/cilium-cli/blob/f0cf9f0d0e4b44b697bc877da35358f3cd1cce9d/sysdump/constants.go#L132-L215

this is not ideal since you need to know which cilium-cli version to use for the sysdump command to correctly capture all the custom resources.

instead, magically detect custom resource versions that are being used in the cluster.

ldlb9527 commented 2 months ago

Hi @michi-covalent does this issue still need to be addressed?

michi-covalent commented 2 months ago

yeah it's still an issue

github-actions[bot] commented 1 week ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.