Skip to content

Commit fb121a1

Browse files
authored
Promote the operator.collector.targetallocatorcr feature flag to Beta (#3965)
* Promote the operator.collector.targetallocatorcr feature flag to Beta As a result of this change, when the target allocator section is enabled in the Collector CR, this now creates a TargetAllocator CR instead of generating the manifests directly. Behavior should otherwise be unchanged. * Fix unit tests
1 parent c178d7a commit fb121a1

File tree

9 files changed

+36
-1725
lines changed

9 files changed

+36
-1725
lines changed
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# One of 'breaking', 'deprecation', 'new_component', 'enhancement', 'bug_fix'
2+
change_type: enhancement
3+
4+
# The name of the component, or a single word describing the area of concern, (e.g. collector, target allocator, auto-instrumentation, opamp, github action)
5+
component: target allocator
6+
7+
# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`).
8+
note: Promote the operator.collector.targetallocatorcr feature flag to Beta
9+
10+
# One or more tracking issues related to the change
11+
issues: [2422]
12+
13+
# (Optional) One or more lines of additional information to render under the primary note.
14+
# These lines will be padded with 2 spaces and then inserted directly into the document.
15+
# Use pipe (|) for multiline entries.
16+
subtext: |
17+
As a result of this change, when the target allocator section is enabled in the Collector CR,
18+
this now creates a TargetAllocator CR instead of generating the manifests directly. Behavior should otherwise be
19+
unchanged. You can go back to the previous behaviour by passing the
20+
`--feature-gates=-operator.collector.targetallocatorcr` command-line option to the operator.

.github/workflows/e2e.yaml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -89,10 +89,6 @@ jobs:
8989
- group: e2e-native-sidecar
9090
setup: "add-operator-arg OPERATOR_ARG='--feature-gates=operator.sidecarcontainers.native' prepare-e2e"
9191
kube-version: "1.29"
92-
- group: e2e-targetallocator
93-
setup: "enable-targetallocator-cr prepare-e2e"
94-
- group: e2e-targetallocator-cr
95-
setup: "enable-targetallocator-cr prepare-e2e"
9692
steps:
9793
- name: Check out code into the Go module directory
9894
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2

Makefile

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -226,11 +226,6 @@ add-rbac-permissions-to-operator: manifests kustomize
226226
cd config/rbac && $(KUSTOMIZE) edit add patch --kind ClusterRole --name manager-role --path extra-permissions-operator/replicationcontrollers.yaml
227227
cd config/rbac && $(KUSTOMIZE) edit add patch --kind ClusterRole --name manager-role --path extra-permissions-operator/resourcequotas.yaml
228228

229-
.PHONY: enable-targetallocator-cr
230-
enable-targetallocator-cr:
231-
@$(MAKE) add-operator-arg OPERATOR_ARG='--feature-gates=operator.collector.targetallocatorcr'
232-
cd config/crd && $(KUSTOMIZE) edit add resource bases/opentelemetry.io_targetallocators.yaml
233-
234229
# Deploy controller in the current Kubernetes context, configured in ~/.kube/config
235230
.PHONY: deploy
236231
deploy: set-image-controller

0 commit comments

Comments
 (0)