From 8e647d45483614418c0577ac8b2c63637ff02483 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADctor=20Cuadrado=20Juan?= Date: Thu, 25 Jul 2024 11:50:59 +0200 Subject: [PATCH] Revert "deps: Bump OpenTelemetryCollector to v1beta1 (#479)" This reverts commit 05a6207ae18d7fce5fc96c93491e119b9254bd48. This revert ought to fix the jaeger helm chart install error: ``` jaeger.jaegertracing.io/my-open-telemetry created Error: UPGRADE FAILED: failed to create resource: admission webhook "mopentelemetrycollectorbeta.kb.io" denied the request: json: cannot unmarshal string into Go struct field OpenTelemetryCollectorSpec.spec.config of type v1beta1.Config ``` There seems to be incompatibilities between latest jaeger-operator-2.54.0 (from 2024-06) and latest opentelemetry-operator-0.64.4. The latest opentelemetry-operator chart includes the operator image 0.103.0 but has not yet consumed 0.104.0, which performs the migrationg to OpentelemetryCollector apiVersion `opentelemetry.io/v1beta1`. --- .../templates/opentelemetry-collector.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/kubewarden-controller/templates/opentelemetry-collector.yaml b/charts/kubewarden-controller/templates/opentelemetry-collector.yaml index e51732e0..74fb06fa 100644 --- a/charts/kubewarden-controller/templates/opentelemetry-collector.yaml +++ b/charts/kubewarden-controller/templates/opentelemetry-collector.yaml @@ -1,5 +1,5 @@ {{ if or .Values.telemetry.metrics.enabled .Values.telemetry.tracing.enabled }} -apiVersion: opentelemetry.io/v1beta1 +apiVersion: opentelemetry.io/v1alpha1 kind: OpenTelemetryCollector metadata: name: kubewarden