From a96cbba6fbc4de47cf32aa35c6394f52295141a8 Mon Sep 17 00:00:00 2001 From: Krzysztof Siedlecki Date: Mon, 13 Jul 2020 12:12:23 +0200 Subject: [PATCH] using kubectl apply to create metric adapter --- .../instrumentation/monitoring/custom_metrics_deployments.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/e2e/instrumentation/monitoring/custom_metrics_deployments.go b/test/e2e/instrumentation/monitoring/custom_metrics_deployments.go index f7c746eff69..4079a90e742 100644 --- a/test/e2e/instrumentation/monitoring/custom_metrics_deployments.go +++ b/test/e2e/instrumentation/monitoring/custom_metrics_deployments.go @@ -265,7 +265,7 @@ func CreateAdapter(adapterDeploymentFile string) error { if err != nil { return err } - stat, err := framework.RunKubectl("", "create", "-f", adapterURL) + stat, err := framework.RunKubectl("", "apply", "-f", adapterURL) framework.Logf(stat) return err }