Skip to content

Commit

Permalink
Report networkpolicies in bug-report (istio#46841)
Browse files Browse the repository at this point in the history
  • Loading branch information
howardjohn authored Sep 5, 2023
1 parent a26b4ef commit addf24b
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 @@ -100,7 +100,7 @@ func retMap(filename, text string, err error) (map[string]string, error) {
func GetK8sResources(p *Params) (map[string]string, error) {
out, err := p.Runner.RunCmd("get --all-namespaces "+
"all,namespaces,jobs,ingresses,endpoints,endpointslices,customresourcedefinitions,configmaps,events,"+
"mutatingwebhookconfigurations,validatingwebhookconfigurations "+
"mutatingwebhookconfigurations,validatingwebhookconfigurations,networkpolicies "+
"-o yaml", "", p.KubeConfig, p.KubeContext, p.DryRun)
return retMap("k8s-resources", out, err)
}
Expand Down

0 comments on commit addf24b

Please sign in to comment.