You need to do this if you have the OpenTelemetry Operator subchart enabled with opentelemetry-operator.enabled: true
in your values file.
Run the following commands on the cluster before upgrading the chart:
kubectl apply --server-side --force-conflicts --filename https://raw.githubusercontent.com/open-telemetry/opentelemetry-helm-charts/opentelemetry-operator-0.24.0/charts/opentelemetry-operator/crds/crd-opentelemetrycollector.yaml
kubectl apply --server-side --force-conflicts --filename https://raw.githubusercontent.com/open-telemetry/opentelemetry-helm-charts/opentelemetry-operator-0.24.0/charts/opentelemetry-operator/crds/crd-opentelemetryinstrumentation.yaml
The OpenTelemetry Operator subchart was upgraded from v0.13.0 to v0.18.3. The new chart introduces a new feature in the Instrumentation CRD.
If you do not upgrade the CRDs, the release-name-ot-operator-instr
job will fail.