Is your feature request related to a problem? Please describe.
I get I0624 14:41:33.968542 3872669 warnings.go:110] "Warning: v1 Endpoints is deprecated in v1.33+; use discovery.k8s.io/v1 EndpointSlice" when running get-all on my kubernetes cluster. It'd be nice to avoid that spam.
Describe the solution you'd like
If there is a way, get a list of resources from the Kubernetes API server and filter them for only those that are not marked deprecated.
Describe alternatives you've considered
Maintain a list of deprecated resources that emit warnings and remember to pass them as an --exclude filter. Doable, but annoying if I forget or it gets out of date. (Not that there are many, thankfully.)
Is your feature request related to a problem? Please describe.
I get
I0624 14:41:33.968542 3872669 warnings.go:110] "Warning: v1 Endpoints is deprecated in v1.33+; use discovery.k8s.io/v1 EndpointSlice"when running get-all on my kubernetes cluster. It'd be nice to avoid that spam.Describe the solution you'd like
If there is a way, get a list of resources from the Kubernetes API server and filter them for only those that are not marked deprecated.
Describe alternatives you've considered
Maintain a list of deprecated resources that emit warnings and remember to pass them as an
--excludefilter. Doable, but annoying if I forget or it gets out of date. (Not that there are many, thankfully.)