Skip to content

Commit

Permalink
Add endpointslices to bug-report dump (istio#44052)
Browse files Browse the repository at this point in the history
This is now the default, and soon to be only method for endpoint config.
So we need to collect it.
  • Loading branch information
howardjohn authored Mar 22, 2023
1 parent 6ca2206 commit 77c93fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/bug-report/pkg/content/content.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 77c93fe

Please sign in to comment.