diff --git a/cmd/ks-apiserver/app/server.go b/cmd/ks-apiserver/app/server.go index ba21a06be77b4f44cbaa749dc320274472b20c99..e3398d4af2ee41933e2d7135c0886ef958a42cd9 100644 --- a/cmd/ks-apiserver/app/server.go +++ b/cmd/ks-apiserver/app/server.go @@ -107,7 +107,7 @@ func initializeServicemeshConfig(s *options.ServerRunOptions) { } // Exclude system namespaces - config.API.Namespaces.Exclude = []string{"istio-system", "kubesphere*", "kube*"} + config.API.Namespaces.Exclude = []string{"istio-system", "kube-.*"} config.InCluster = true // Set default prometheus service url