Skip to content

Commit

Permalink
Generate only TargetAllocator CR from Collector CR
Browse files Browse the repository at this point in the history
This is hidden behind a feature flag. Nothing changes by default.
  • Loading branch information
swiatekm committed Oct 28, 2024
1 parent 22e8c06 commit e342ad5
Show file tree
Hide file tree
Showing 16 changed files with 2,270 additions and 112 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@ jobs:
- group: e2e-native-sidecar
setup: "add-operator-arg OPERATOR_ARG='--feature-gates=operator.sidecarcontainers.native' prepare-e2e"
kube-version: "1.29"
- group: e2e-targetallocator
setup: "add-operator-arg OPERATOR_ARG='--feature-gates=operator.collector.targetallocatorcr' prepare-e2e"
steps:
- name: Check out code into the Go module directory
uses: actions/checkout@v4
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ metadata:
categories: Logging & Tracing,Monitoring
certified: "false"
containerImage: ghcr.io/open-telemetry/opentelemetry-operator/opentelemetry-operator
createdAt: "2024-10-16T10:10:50Z"
createdAt: "2024-10-28T12:09:04Z"
description: Provides the OpenTelemetry components, including the Collector
operators.operatorframework.io/builder: operator-sdk-v1.29.0
operators.operatorframework.io/project_layout: go.kubebuilder.io/v3
Expand Down Expand Up @@ -389,6 +389,7 @@ spec:
- opentelemetry.io
resources:
- opampbridges
- targetallocators
verbs:
- create
- delete
Expand All @@ -409,6 +410,7 @@ spec:
- opampbridges/status
- opentelemetrycollectors/finalizers
- opentelemetrycollectors/status
- targetallocators/status
verbs:
- get
- patch
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ metadata:
categories: Logging & Tracing,Monitoring
certified: "false"
containerImage: ghcr.io/open-telemetry/opentelemetry-operator/opentelemetry-operator
createdAt: "2024-10-16T10:10:50Z"
createdAt: "2024-10-28T12:09:05Z"
description: Provides the OpenTelemetry components, including the Collector
operators.operatorframework.io/builder: operator-sdk-v1.29.0
operators.operatorframework.io/project_layout: go.kubebuilder.io/v3
Expand Down Expand Up @@ -389,6 +389,7 @@ spec:
- opentelemetry.io
resources:
- opampbridges
- targetallocators
verbs:
- create
- delete
Expand All @@ -409,6 +410,7 @@ spec:
- opampbridges/status
- opentelemetrycollectors/finalizers
- opentelemetrycollectors/status
- targetallocators/status
verbs:
- get
- patch
Expand Down
2 changes: 2 additions & 0 deletions config/rbac/role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,7 @@ rules:
- opentelemetry.io
resources:
- opampbridges
- targetallocators
verbs:
- create
- delete
Expand All @@ -155,6 +156,7 @@ rules:
- opampbridges/status
- opentelemetrycollectors/finalizers
- opentelemetrycollectors/status
- targetallocators/status
verbs:
- get
- patch
Expand Down
Loading

0 comments on commit e342ad5

Please sign in to comment.