Skip to content

Commit

Permalink
Merge pull request #1654 from thpierce/patch-1
Browse files Browse the repository at this point in the history
Update E2E Collector tests to use different collector names for each concurrent test
  • Loading branch information
Aneurysm9 authored Jul 10, 2024
2 parents 45baf87 + 062119e commit c0ad0f8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion terraform/eks/adot-operator/adot_collector_deployment.tpl
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: opentelemetry.io/v1alpha1
kind: OpenTelemetryCollector
metadata:
name: aoc
name: ${AOC_NAME}
namespace: ${AOC_NAMESPACE}
spec:
image: ${AOC_IMAGE}
Expand Down
1 change: 1 addition & 0 deletions terraform/eks/otlp.tf
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,7 @@ data "template_file" "adot_collector_config_file" {
template = file("./adot-operator/adot_collector_deployment.tpl")

vars = {
AOC_NAME = var.deployment_type == "fargate" ? "aoc-fargate" : "aoc"
AOC_NAMESPACE = var.deployment_type == "fargate" ? kubernetes_namespace.aoc_fargate_ns.metadata[0].name : kubernetes_namespace.aoc_ns.metadata[0].name
AOC_IMAGE = module.common.aoc_image
AOC_DEPLOY_MODE = var.aoc_deploy_mode
Expand Down

0 comments on commit c0ad0f8

Please sign in to comment.