fix filter kapp-system
@@ -82,6 +82,10 @@ func buildNamespaceResMessage(c *Client, action string, objWatched interface{})
return nil, errors.New("convert watch obj to Namespace failed")
}
+ if namespace.Name == resources.KAPP_SYSTEM_NAMESPACE {
+ return &ResMessage{}, nil
+ }
+
if _, exist := namespace.Labels[controllers.KappEnableLabelName]; !exist {
return &ResMessage{}, nil
}
