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: cmd/cmd.go
+35-4
Original file line number
Diff line number
Diff line change
@@ -161,6 +161,10 @@ var (
161
161
backupArangoD time.Duration
162
162
backupUploadArangoD time.Duration
163
163
}
164
+
operatorImageDiscoverystruct {
165
+
timeout time.Duration
166
+
defaultStatusDiscoverybool
167
+
}
164
168
operatorReconciliationRetrystruct {
165
169
delay time.Duration
166
170
countint
@@ -241,6 +245,8 @@ func init() {
241
245
f.IntVar(&operatorBackup.concurrentUploads, "backup-concurrent-uploads", globals.DefaultBackupConcurrentUploads, "Number of concurrent uploads per deployment")
242
246
f.Uint64Var(&memoryLimit.hardLimit, "memory-limit", 0, "Define memory limit for hard shutdown and the dump of goroutines. Used for testing")
243
247
f.StringArrayVar(&metricsOptions.excludedMetricPrefixes, "metrics.excluded-prefixes", nil, "List of the excluded metrics prefixes")
248
+
f.BoolVar(&operatorImageDiscovery.defaultStatusDiscovery, "image.discovery.status", true, "Discover Operator Image from Pod Status by default. When disabled Pod Spec is used.")
249
+
f.DurationVar(&operatorImageDiscovery.timeout, "image.discovery.timeout", time.Minute, "Timeout for image discovery process")
0 commit comments