From e163dba2bf07e4f53299084331643f81f8df64af Mon Sep 17 00:00:00 2001 From: ChrsMark Date: Sun, 18 Dec 2022 14:50:41 +0200 Subject: [PATCH] Honor global namespace flag in sysdump command Signed-off-by: ChrsMark --- internal/cli/cmd/sysdump.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/cli/cmd/sysdump.go b/internal/cli/cmd/sysdump.go index 8ac23c9f16..f2ddadaaba 100644 --- a/internal/cli/cmd/sysdump.go +++ b/internal/cli/cmd/sysdump.go @@ -29,6 +29,7 @@ func newCmdSysdump() *cobra.Command { Short: "Collects information required to troubleshoot issues with Cilium and Hubble", Long: ``, RunE: func(cmd *cobra.Command, args []string) error { + sysdumpOptions.CiliumNamespace = namespace // Silence klog to avoid displaying "throttling" messages - those are expected. klog.SetOutput(io.Discard) // Collect the sysdump.