Skip to content

Commit 04b6a51

Browse files
committed
📝 docs
modified: README.md; modified: main.go
1 parent 0377963 commit 04b6a51

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,12 @@
88
Kube-reqsizer has two primary custom flags:
99

1010
```
11-
--annotation-filter bool
11+
--annotation-filter bool (default true)
1212
1313
Enable a annotation filter for pod scraping.
1414
Enabling this will ensure that the controller
1515
only sets requests of controllers of which PODS or NAMESPACE have the annotation.
16+
If false, will work on all pods in the cluster.
1617
1718
auto.request.operator/optimize=true
1819

main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ func main() {
6464
flag.BoolVar(&enableLeaderElection, "leader-elect", false,
6565
"Enable leader election for controller manager. "+
6666
"Enabling this will ensure there is only one active controller manager.")
67-
flag.BoolVar(&enableAnnotation, "annotation-filter", false,
67+
flag.BoolVar(&enableAnnotation, "annotation-filter", true,
6868
"Enable a annotation filter for pod scraping. "+
6969
"Enabling this will ensure that the controller only sets requests of controllers of which PODS or NAMESPACE have the annotation. "+
7070
"(auto.request.operator/optimize=true)")

0 commit comments

Comments
 (0)