From 77f54e758c6759d44b8f0c7ca8b53857154c549e Mon Sep 17 00:00:00 2001 From: Panos Koutsovasilis Date: Mon, 16 Dec 2024 20:39:43 +0200 Subject: [PATCH] fix: make kubernetes integration enabled by default --- deploy/helm/elastic-agent/README.md | 2 +- .../examples/system-custom-auth-paths/agent-system-values.yaml | 3 ++- deploy/helm/elastic-agent/values.yaml | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/deploy/helm/elastic-agent/README.md b/deploy/helm/elastic-agent/README.md index 9afcf8625e1..5c7db4b4bfb 100644 --- a/deploy/helm/elastic-agent/README.md +++ b/deploy/helm/elastic-agent/README.md @@ -62,7 +62,7 @@ The chart built-in [kubernetes integration](https://docs.elastic.co/integrations | Key | Type | Default | Description | |-----|------|---------|-------------| -| kubernetes.enabled | bool | `false` | enable Kubernetes integration. | +| kubernetes.enabled | bool | `true` | enable Kubernetes integration. | | kubernetes.output | string | `"default"` | name of the output used in kubernetes integration. Note that this output needs to be defined in [outputs](#1-outputs) | | kubernetes.namespace | string | `"default"` | kubernetes namespace | | kubernetes.hints.enabled | bool | `false` | enable [elastic-agent autodiscovery](https://www.elastic.co/guide/en/fleet/current/elastic-agent-kubernetes-autodiscovery.html) feature | diff --git a/deploy/helm/elastic-agent/examples/system-custom-auth-paths/agent-system-values.yaml b/deploy/helm/elastic-agent/examples/system-custom-auth-paths/agent-system-values.yaml index 52615a36cb5..008661c689f 100644 --- a/deploy/helm/elastic-agent/examples/system-custom-auth-paths/agent-system-values.yaml +++ b/deploy/helm/elastic-agent/examples/system-custom-auth-paths/agent-system-values.yaml @@ -8,6 +8,7 @@ system: vars: paths: - /var/log/custom_syslog.log - +kubernetes: + enabled: false agent: unprivileged: true diff --git a/deploy/helm/elastic-agent/values.yaml b/deploy/helm/elastic-agent/values.yaml index 1d77fc793f2..1809912cdf0 100644 --- a/deploy/helm/elastic-agent/values.yaml +++ b/deploy/helm/elastic-agent/values.yaml @@ -47,7 +47,7 @@ kubernetes: # -- enable Kubernetes integration. # @section -- 2 - Kubernetes integration # @sectionDescriptionTemplate -- Kubernetes - enabled: false + enabled: true # -- name of the output used in kubernetes integration. Note that this output needs to be defined in # [outputs](#1-outputs) # @section -- 2 - Kubernetes integration