You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: config/opts.go
+6
Original file line number
Diff line number
Diff line change
@@ -3,6 +3,7 @@ package config
3
3
import (
4
4
"encoding/json"
5
5
log "github.com/sirupsen/logrus"
6
+
"time"
6
7
)
7
8
8
9
type (
@@ -14,6 +15,11 @@ type (
14
15
LogJsonbool` long:"log.json" env:"LOG_JSON" description:"Switch log output to json format"`
15
16
}
16
17
18
+
K8sstruct {
19
+
NodeLabelSelectorstring`long:"kube.node.labelselector" env:"KUBE_NODE_LABELSELECTOR" description:"Node Label selector which nodes should be checked" default:""`
20
+
WatchTimeout time.Duration`long:"kube.watch.timeout" env:"KUBE_WATCH_TIMEOUT" description:"Timeout & full resync for node watch (time.Duration)" default:"24h"`
21
+
}
22
+
17
23
// general options
18
24
DryRunbool`long:"dry-run" env:"DRY_RUN" description:"Dry run (do not apply to nodes)"`
0 commit comments