Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update providers_default_disable #884

Merged
merged 3 commits into from
Feb 6, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,22 @@ configuration.
* <<docker-provider,Docker Provider>>
* <<kubernetes-provider,Kubernetes Provider>>

[discrete]
[[disable-providers-by-default]]
=== Disabling Providers By Default

All registered providers are enabled by default.

Disable all providers by default and only enable explicitly configured providers by setting `agent.providers.initial_default: false`.

[source,yaml]
----
agent.providers.initial_default: false
providers:
docker:
enabled: true
----

include::local-provider.asciidoc[leveloffset=+1]

include::agent-provider.asciidoc[leveloffset=+1]
Expand Down