Skip to content

Commit f8d961b

Browse files
authored
Remove deprecated fields from v1beta1 (open-telemetry#2705)
* Remove deprecated fields from v1beta1 Signed-off-by: Pavol Loffay <[email protected]> * Fix --------- Signed-off-by: Pavol Loffay <[email protected]>
1 parent 50e847f commit f8d961b

File tree

3 files changed

+2
-29
lines changed

3 files changed

+2
-29
lines changed

apis/v1beta1/opentelemetrycollector_types.go

-11
Original file line numberDiff line numberDiff line change
@@ -255,17 +255,6 @@ type OpenTelemetryCollectorStatus struct {
255255
// Image indicates the container image to use for the OpenTelemetry Collector.
256256
// +optional
257257
Image string `json:"image,omitempty"`
258-
259-
// Messages about actions performed by the operator on this resource.
260-
// +optional
261-
// +listType=atomic
262-
// Deprecated: use Kubernetes events instead.
263-
Messages []string `json:"messages,omitempty"`
264-
265-
// Replicas is currently not being set and might be removed in the next version.
266-
// +optional
267-
// Deprecated: use "OpenTelemetryCollector.Status.Scale.Replicas" instead.
268-
Replicas int32 `json:"replicas,omitempty"`
269258
}
270259

271260
// ObservabilitySpec defines how telemetry data gets handled.

apis/v1beta1/targetallocator_types.go

-6
Original file line numberDiff line numberDiff line change
@@ -74,12 +74,6 @@ type TargetAllocatorStatus struct {
7474
// Image indicates the container image to use for the Target Allocator.
7575
// +optional
7676
Image string `json:"image,omitempty"`
77-
78-
// Messages about actions performed by the operator on this resource.
79-
// +optional
80-
// +listType=atomic
81-
// Deprecated: use Kubernetes events instead.
82-
Messages []string `json:"messages,omitempty"`
8377
}
8478

8579
//+kubebuilder:object:root=true

apis/v1beta1/zz_generated.deepcopy.go

+2-12
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)