From 77c93fe25eca180609b22f53f7083626c8dc368b Mon Sep 17 00:00:00 2001 From: John Howard Date: Wed, 22 Mar 2023 11:07:29 -0700 Subject: [PATCH] Add endpointslices to bug-report dump (#44052) This is now the default, and soon to be only method for endpoint config. So we need to collect it. --- tools/bug-report/pkg/content/content.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/bug-report/pkg/content/content.go b/tools/bug-report/pkg/content/content.go index c9a251e27368..60f9cbce4d7a 100644 --- a/tools/bug-report/pkg/content/content.go +++ b/tools/bug-report/pkg/content/content.go @@ -96,7 +96,7 @@ func retMap(filename, text string, err error) (map[string]string, error) { // GetK8sResources returns all k8s cluster resources. func GetK8sResources(p *Params) (map[string]string, error) { out, err := p.Runner.RunCmd("get --all-namespaces "+ - "all,namespaces,jobs,ingresses,endpoints,customresourcedefinitions,configmaps,events,"+ + "all,namespaces,jobs,ingresses,endpoints,endpointslices,customresourcedefinitions,configmaps,events,"+ "mutatingwebhookconfigurations,validatingwebhookconfigurations "+ "-o yaml", "", p.KubeConfig, p.KubeContext, p.DryRun) return retMap("k8s-resources", out, err)