You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Fix version in status for OpenTelemetry Collector after upgrades #1802
Signed-off-by: Israel Blancas <iblancasa@gmail.com>
* Add missing changelog
Signed-off-by: Israel Blancas <iblancasa@gmail.com>
* Fix unit tests
Signed-off-by: Israel Blancas <iblancasa@gmail.com>
* Add unit test to cover this use case
Signed-off-by: Israel Blancas <iblancasa@gmail.com>
* Add new log message
Signed-off-by: Israel Blancas <iblancasa@gmail.com>
---------
Signed-off-by: Israel Blancas <iblancasa@gmail.com>
ItielOlenick
pushed a commit
to ItielOlenick/opentelemetry-operator
that referenced
this issue
May 1, 2024
…n-telemetry#1803)
* Fix version in status for OpenTelemetry Collector after upgrades open-telemetry#1802
Signed-off-by: Israel Blancas <iblancasa@gmail.com>
* Add missing changelog
Signed-off-by: Israel Blancas <iblancasa@gmail.com>
* Fix unit tests
Signed-off-by: Israel Blancas <iblancasa@gmail.com>
* Add unit test to cover this use case
Signed-off-by: Israel Blancas <iblancasa@gmail.com>
* Add new log message
Signed-off-by: Israel Blancas <iblancasa@gmail.com>
---------
Signed-off-by: Israel Blancas <iblancasa@gmail.com>
Depending on the source version you upgrade the OpenTelemetry Operator, the OpenTelemetry Collector will upgrade its version properly or not.
Steps to reproduce
0.63.1
:$ kubectl get otelcol NAME MODE VERSION AGE simplest deployment 0.63.1 20m # Check if the image was updated $ kubectl get deployment simplest-collector -o yaml ... spec: containers: - args: - --config=/conf/collector.yaml env: - name: POD_NAME valueFrom: fieldRef: apiVersion: v1 fieldPath: metadata.name image: ghcr.io/open-telemetry/opentelemetry-collector-releases/opentelemetry-collector:0.78.0 ...
As we can see, the image version was updated but not the OTEL Collector version.
Source of the problem
The error appears because this source code (
pkg/collector/upgrade/upgrade.go
):is before this one:
The text was updated successfully, but these errors were encountered: