Skip to content

Commit

Permalink
monitor all apps by default
Browse files Browse the repository at this point in the history
  • Loading branch information
djeebus committed Dec 11, 2024
1 parent 6f03dc7 commit fb13eda
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion cmd/controller_cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,8 @@ func init() {
stringFlag(flags, "webhook-url-base", "The endpoint to listen on for incoming PR/MR event webhooks. For example, 'https://checker.mycompany.com'.")
stringFlag(flags, "webhook-url-prefix", "If your application is running behind a proxy that uses path based routing, set this value to match the path prefix. For example, '/hello/world'.")
stringFlag(flags, "webhook-secret", "Optional secret key for validating the source of incoming webhooks.")
boolFlag(flags, "monitor-all-applications", "Monitor all applications in argocd automatically.")
boolFlag(flags, "monitor-all-applications", "Monitor all applications in argocd automatically.",
newBoolOpts().withDefault(true))
boolFlag(flags, "ensure-webhooks", "Ensure that webhooks are created in repositories referenced by argo.")
stringFlag(flags, "repo-refresh-interval", "Interval between static repo refreshes (for schemas and policies).",
newStringOpts().withDefault("5m"))
Expand Down
2 changes: 1 addition & 1 deletion docs/usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ The full list of supported environment variables is described below:
|`KUBECHECKS_LOG_LEVEL`|Set the log output level. One of error, warn, info, debug, trace.|`info`|
|`KUBECHECKS_MAX_CONCURRENCT_CHECKS`|Number of concurrent checks to run.|`32`|
|`KUBECHECKS_MAX_QUEUE_SIZE`|Size of app diff check queue.|`1024`|
|`KUBECHECKS_MONITOR_ALL_APPLICATIONS`|Monitor all applications in argocd automatically.|`false`|
|`KUBECHECKS_MONITOR_ALL_APPLICATIONS`|Monitor all applications in argocd automatically.|`true`|
|`KUBECHECKS_OPENAI_API_TOKEN`|OpenAI API Token.||
|`KUBECHECKS_OTEL_COLLECTOR_HOST`|The OpenTelemetry collector host.||
|`KUBECHECKS_OTEL_COLLECTOR_PORT`|The OpenTelemetry collector port.||
Expand Down

0 comments on commit fb13eda

Please sign in to comment.