From b2c9d1bd96285196c10c43529043499edd4c523a Mon Sep 17 00:00:00 2001
From: Nikola Grcevski <6207777+grcevski@users.noreply.github.com>
Date: Thu, 7 Nov 2024 10:08:37 -0500
Subject: [PATCH] Add default excluded services to our Beyla Helm chart (#1332)

---
 charts/beyla/Chart.yaml               | 2 +-
 charts/beyla/templates/configmap.yaml | 2 ++
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/charts/beyla/Chart.yaml b/charts/beyla/Chart.yaml
index dedcb7f4d..6a1fbc96f 100644
--- a/charts/beyla/Chart.yaml
+++ b/charts/beyla/Chart.yaml
@@ -1,6 +1,6 @@
 apiVersion: v2
 name: beyla
-version: 1.4.9
+version: 1.4.10
 appVersion: 1.8.6
 description: eBPF-based autoinstrumentation HTTP, HTTP2 and gRPC services, as well as network metrics.
 home: https://grafana.com/oss/beyla-ebpf/
diff --git a/charts/beyla/templates/configmap.yaml b/charts/beyla/templates/configmap.yaml
index fd36e51c0..9ef08c2bb 100644
--- a/charts/beyla/templates/configmap.yaml
+++ b/charts/beyla/templates/configmap.yaml
@@ -29,6 +29,8 @@ data:
     discovery:
       services:
         - k8s_namespace: .
+      exclude_services:
+        - exe_path: ".*alloy.*|.*otelcol.*|.*beyla.*"
     {{- end }}
     {{- end }}
   {{- toYaml .Values.config.data | nindent 4}}