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
argResourceCacheTTL=flag.String("resource-cache-ttl", defaultResourceCacheTTL, "The time to live of each resource cache entry.")
154
160
argManifestCacheTTL=flag.String("manifest-cache-ttl", defaultManifestCacheTTL, "The time to live of service manifests in cache entry.")
155
161
argManifestCacheJitter=flag.String("manifest-cache-jitter", defaultManifestCacheJitter, "Deprecated: ignored; manifest cache jitter is fixed at 50% of its TTL.")
162
+
argCacheDir=flag.String("cache-dir", "", "Directory used to persist operator caches across restarts. Empty disables persistence.")
163
+
argCachePersistInterval=flag.String("cache-persist-interval", defaultCachePersistInterval, "Interval to flush in-memory caches to cache-dir.")
156
164
argComponentShaCacheTTL=flag.String("component-sha-cache-ttl", defaultComponentShaCacheTTL, "The time to live of the component sha cache entries.")
157
165
argComponentShaCacheJitter=flag.String("component-sha-cache-jitter", defaultComponentShaCacheJitter, "Deprecated: ignored; component SHA cache jitter is fixed at 50% of its TTL.")
158
166
argControllerCacheTTL=flag.String("controller-cache-ttl", defaultControllerCacheTTL, "The time to live of console controller cache entries.")
159
167
argRestoreNamespace=flag.String("restore-namespace", defaultRestoreNamespace, "The namespace where Velero restores are located.")
160
168
argServices=flag.String("services", "", "A comma separated list of service ids to reconcile. Leave empty to reconcile all.")
161
169
argPyroscopeAddress=flag.String("pyroscope-address", defaultPyroscopeAddress, "The address of the Pyroscope server.")
162
-
argDatadogHost=flag.String("datadog-host", defaultDatadogHost, "The address of the Datadog server.")
163
-
argDatadogEnv=flag.String("datadog-env", defaultDatadogEnv, "The environment of the Datadog server.")
170
+
argDatadogHost=flag.String("datadog-host", helpers.GetEnv(EnvDatadogHost, defaultDatadogHost), "The address of the Datadog server.")
171
+
argDatadogEnv=flag.String("datadog-env", helpers.GetEnv(EnvDatadogEnvironment, defaultDatadogEnv), "The environment of the Datadog server.")
164
172
argWorkqueueBaseDelay=flag.String("workqueue-base-delay", defaultWorkqueueBaseDelay, "The base delay for the workqueue.")
165
173
argWorkqueueMaxDelay=flag.String("workqueue-max-delay", defaultWorkqueueMaxDelay, "The maximum delay for the workqueue.")
166
174
argWorkqueueQPS=flag.Int("workqueue-qps", 10, "The maximum number of items to process per second.")
0 commit comments