From 473ae16b11b5f0138ad56dc60c892aac41f0d691 Mon Sep 17 00:00:00 2001 From: Adrien Mannocci Date: Thu, 14 Dec 2023 16:11:18 +0100 Subject: [PATCH] chore: rename apm-mutating-webhook to apm-k8s-attacher (#3463) Signed-off-by: Adrien Mannocci --- .buildkite/scripts/opentelemetry-benchmark.sh | 4 ++-- .../co/elastic/apm/agent/configuration/ActivationMethod.java | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.buildkite/scripts/opentelemetry-benchmark.sh b/.buildkite/scripts/opentelemetry-benchmark.sh index 8753247883..c33395301a 100755 --- a/.buildkite/scripts/opentelemetry-benchmark.sh +++ b/.buildkite/scripts/opentelemetry-benchmark.sh @@ -27,8 +27,8 @@ BENCHMARKS_JAR_FILE="$(pwd)/$BENCHMARKS_JAR" echo "$BENCHMARKS_JAR_FILE has been downloaded." echo "--- Start APM Server mock" -git clone https://github.com/elastic/apm-mutating-webhook.git -pushd apm-mutating-webhook/test/mock +git clone https://github.com/elastic/apm-k8s-attacher.git +pushd apm-k8s-attacher/test/mock docker build -t $CONTAINER_NAME . docker run -dp 127.0.0.1:8027:8027 $CONTAINER_NAME popd diff --git a/apm-agent-common/src/main/java/co/elastic/apm/agent/configuration/ActivationMethod.java b/apm-agent-common/src/main/java/co/elastic/apm/agent/configuration/ActivationMethod.java index dc7e0ee5db..9a7fbcfc75 100644 --- a/apm-agent-common/src/main/java/co/elastic/apm/agent/configuration/ActivationMethod.java +++ b/apm-agent-common/src/main/java/co/elastic/apm/agent/configuration/ActivationMethod.java @@ -20,7 +20,7 @@ public enum ActivationMethod { // Set explicitly by the process starting the agent - K8S_ATTACH, // https://github.com/elastic/apm-mutating-webhook + K8S_ATTACH, // https://github.com/elastic/apm-k8s-attacher AWS_LAMBDA_LAYER, // Only if installed by using layers (as other metadata already identifies lambda) FLEET, // Fleet using 'java -jar apm-agent-attach-cli.jar ...' to attach (directly or through webhook) APM_AGENT_ATTACH_CLI, // 'java -jar apm-agent-attach-cli.jar ...' used