INNER CODE UNIT · Go
defaultWakeupInterval
operator-framework/operator-lifecycle-manager · cmd/olm/main.go:37
defaultWakeupInterval = 5 * time.Minute
defaultOperatorName = ""
defaultPackageServerStatusName = ""
)
// config flags defined globally so that they appear on the test binary as well
var (
wakeupInterval = pflag.Duration(
"interval", defaultWakeupInterval, "wake up interval")
watchedNamespaces = pflag.String(
"watchedNamespaces", "", "comma separated list of namespaces for olm operator to watch. "+
"If not set, or set to the empty string (e.g. `-watchedNamespaces=\"\"`), "+
"olm operator will watch all namespaces in the cluster.")
writeStatusName = pflag.String(
"writeStatusName", defaultOperatorName, "ClusterOperator name in which to write status, set to \"\" to disable.")