aws-observability / aws-otel-test-framework

AWS Distro for OpenTelemetry Test Framework
https://aws-otel.github.io/
Apache License 2.0
28 stars 62 forks source link

[release/v0.40.x] Update otel crd to `v1apha1` in tests #1658

Closed vasireddy99 closed 1 month ago

vasireddy99 commented 1 month ago

Description:

Tests are failing for having null in the pipeline in v1beta1 otel col crd. to fix this either we need to specify processor array under services or add processor in the pipeline.

Error: aoc-ns-e69e42202fa54bf7/aoc failed to run apply: error when creating "/tmp/909201803kubectl_manifest.yaml": OpenTelemetryCollector.opentelemetry.io "aoc" is invalid: spec.config.service.pipelines.metrics.processors: Invalid value: "null": spec.config.service.pipelines.metrics.processors in body must be of type array: "null"

As per upgrade doc v1alpha1 resources are still supported. hence moving to v1alpha1

Also removed unused terraform/eks/adot-operator/adot_collector_deployment.tpl

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.