Skip to content

Commit

Permalink
Update RBAC and main.go (#16)
Browse files Browse the repository at this point in the history
  • Loading branch information
kairen committed Jul 16, 2019
1 parent bf641c5 commit bb28784
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cmd/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.")
Expand Down
2 changes: 1 addition & 1 deletion deploy/rbac.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ rules:
- ""
resources:
- services
- namespace
- namespaces
verbs:
- "*"
- apiGroups:
Expand Down

0 comments on commit bb28784

Please sign in to comment.