Skip to content

Commit bb28784

Browse files
committed
Update RBAC and main.go (#16)
1 parent bf641c5 commit bb28784

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

cmd/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ var (
4343

4444
func parserFlags() {
4545
flag.StringVarP(&kubeconfig, "kubeconfig", "", "", "Absolute path to the kubeconfig file.")
46-
flag.IntVarP(&cfg.Threads, "threads", "", 2, "Number of worker threads used by the SparkApplication controller.")
46+
flag.IntVarP(&cfg.Threads, "threads", "", 2, "Number of worker threads used by the controller.")
4747
flag.StringSliceVarP(&cfg.IgnoreNamespaces, "ignore-namespaces", "", nil, "Ignore namespaces for syncing objects.")
4848
flag.StringSliceVarP(&cfg.Services, "services", "", []string{"k8s-tcp", "k8s-udp"}, "The service objects of security policy.")
4949
flag.StringSliceVarP(&cfg.SourceZones, "source-zones", "", []string{"untrust"}, "The source zones of security policy.")

deploy/rbac.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ rules:
1313
- ""
1414
resources:
1515
- services
16-
- namespace
16+
- namespaces
1717
verbs:
1818
- "*"
1919
- apiGroups:

0 commit comments

Comments
 (0)