Skip to content

Commit

Permalink
Merge pull request #1658 from vasireddy99/fixconfig
Browse files Browse the repository at this point in the history
[release/v0.40.x] Update otel crd to `v1apha1` in tests
  • Loading branch information
vasireddy99 authored Jul 30, 2024
2 parents 3bc71db + 395627a commit 634b091
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 17 deletions.
11 changes: 0 additions & 11 deletions terraform/eks/adot-operator/adot_collector_deployment.tpl

This file was deleted.

4 changes: 2 additions & 2 deletions terraform/eks/otlp.tf
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ resource "kubectl_manifest" "aoc_deployment_adot_operator" {
count = local.is_otlp_base_scenario && local.is_operator_testcase ? 1 : 0

yaml_body = <<-EOF
apiVersion: opentelemetry.io/v1beta1
apiVersion: opentelemetry.io/v1alpha1
kind: OpenTelemetryCollector
metadata:
name: aoc
Expand All @@ -280,7 +280,7 @@ resource "kubectl_manifest" "aoc_deployment_adot_operator" {
image: ${module.common.aoc_image}
mode: ${var.aoc_deploy_mode}
serviceAccount: aoc-role-${module.common.testing_id}
config:
config: |
${module.basic_components.0.otconfig_content}
EOF
depends_on = [module.adot_operator]
Expand Down
2 changes: 1 addition & 1 deletion terraform/testcases/otlp_metric_adot_operator/otconfig.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ extensions:
endpoint: 0.0.0.0:${grpc_port}

processors:
batch: {}
batch:

exporters:
awsemf:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ receivers:
endpoint: 0.0.0.0:${grpc_port}

processors:
batch: {}
batch:

exporters:
awsemf:
Expand Down
2 changes: 1 addition & 1 deletion terraform/testcases/otlp_trace_adot_operator/otconfig.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ extensions:
endpoint: 0.0.0.0:${grpc_port}

processors:
batch: {}
batch:

exporters:
awsxray:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ receivers:
endpoint: 0.0.0.0:${grpc_port}

processors:
batch:{}
batch:

exporters:
awsxray:
Expand Down

0 comments on commit 634b091

Please sign in to comment.