From c0d2e38e2f92fda39f470daf3d10506a778b04cc Mon Sep 17 00:00:00 2001
From: Pavol Loffay
Date: Wed, 9 Jul 2025 09:15:51 +0200
Subject: [PATCH 1/3] Require golang 1.24
Signed-off-by: Pavol Loffay
---
go.mod | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/go.mod b/go.mod
index 117749917d..2ba89b50cb 100644
--- a/go.mod
+++ b/go.mod
@@ -1,6 +1,6 @@
module github.com/open-telemetry/opentelemetry-operator
-go 1.23.0
+go 1.24.0
toolchain go1.24.1
From 51b1c4623327d30a1f7a89a1a1db3850fba3bc01 Mon Sep 17 00:00:00 2001
From: Pavol Loffay
Date: Wed, 9 Jul 2025 09:19:27 +0200
Subject: [PATCH 2/3] Require golang 1.24
Signed-off-by: Pavol Loffay
---
.chloggen/golang-bump.yaml | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
create mode 100644 .chloggen/golang-bump.yaml
diff --git a/.chloggen/golang-bump.yaml b/.chloggen/golang-bump.yaml
new file mode 100644
index 0000000000..643582bca1
--- /dev/null
+++ b/.chloggen/golang-bump.yaml
@@ -0,0 +1,16 @@
+# One of 'breaking', 'deprecation', 'new_component', 'enhancement', 'bug_fix'
+change_type: enhancement
+
+# The name of the component, or a single word describing the area of concern, (e.g. collector, target allocator, auto-instrumentation, opamp, github action)
+component: collector, targer allocator, opamp
+
+# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`).
+note: Require Go 1.21+ to build the collector, target allocator, and opamp.
+
+# One or more tracking issues related to the change
+issues: [4173]
+
+# (Optional) One or more lines of additional information to render under the primary note.
+# These lines will be padded with 2 spaces and then inserted directly into the document.
+# Use pipe (|) for multiline entries.
+subtext:
From d2572393a8dcb960b08ecd615f9fbcdfe2236f5b Mon Sep 17 00:00:00 2001
From: Pavol Loffay
Date: Thu, 10 Jul 2025 13:02:05 +0200
Subject: [PATCH 3/3] Require golang 1.24
Signed-off-by: Pavol Loffay
---
.chloggen/golang-bump.yaml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.chloggen/golang-bump.yaml b/.chloggen/golang-bump.yaml
index 643582bca1..43d354dcb7 100644
--- a/.chloggen/golang-bump.yaml
+++ b/.chloggen/golang-bump.yaml
@@ -5,7 +5,7 @@ change_type: enhancement
component: collector, targer allocator, opamp
# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`).
-note: Require Go 1.21+ to build the collector, target allocator, and opamp.
+note: Require Go 1.24+ to build the collector, target allocator, and opamp.
# One or more tracking issues related to the change
issues: [4173]