diff --git a/cmd/main.go b/cmd/main.go index b31f3da..2ea9daf 100644 --- a/cmd/main.go +++ b/cmd/main.go @@ -43,7 +43,7 @@ var ( func parserFlags() { flag.StringVarP(&kubeconfig, "kubeconfig", "", "", "Absolute path to the kubeconfig file.") - flag.IntVarP(&cfg.Threads, "threads", "", 2, "Number of worker threads used by the SparkApplication controller.") + flag.IntVarP(&cfg.Threads, "threads", "", 2, "Number of worker threads used by the controller.") flag.StringSliceVarP(&cfg.IgnoreNamespaces, "ignore-namespaces", "", nil, "Ignore namespaces for syncing objects.") flag.StringSliceVarP(&cfg.Services, "services", "", []string{"k8s-tcp", "k8s-udp"}, "The service objects of security policy.") flag.StringSliceVarP(&cfg.SourceZones, "source-zones", "", []string{"untrust"}, "The source zones of security policy.") diff --git a/deploy/rbac.yml b/deploy/rbac.yml index f519cda..a387f1b 100644 --- a/deploy/rbac.yml +++ b/deploy/rbac.yml @@ -13,7 +13,7 @@ rules: - "" resources: - services - - namespace + - namespaces verbs: - "*" - apiGroups: