From 5f2506ff34ad6bef50bc532be4d138b5f81e22ca Mon Sep 17 00:00:00 2001 From: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> Date: Thu, 31 Oct 2024 23:26:31 +1100 Subject: [PATCH] [8.x] fix: kubectl annotate command (#198414) (#198491) # Backport This will backport the following commits from `main` to `8.x`: - [fix: kubectl annotate command (#198414)](https://github.com/elastic/kibana/pull/198414) ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) Co-authored-by: Roger Coll --- .../quickstart_flows/otel_kubernetes/otel_kubernetes_panel.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/otel_kubernetes/otel_kubernetes_panel.tsx b/x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/otel_kubernetes/otel_kubernetes_panel.tsx index 42acd159b73cc..942cecb13aeeb 100644 --- a/x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/otel_kubernetes/otel_kubernetes_panel.tsx +++ b/x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/otel_kubernetes/otel_kubernetes_panel.tsx @@ -245,7 +245,7 @@ spec: ... # To annotate all resources in a namespace -kubectl annotate namespace my-namespace instrumentation.opentelemetry.io/inject-${idSelected}: "${namespace}/elastic-instrumentation" +kubectl annotate namespace my-namespace instrumentation.opentelemetry.io/inject-${idSelected}="${namespace}/elastic-instrumentation" # Restart your deployment kubectl rollout restart deployment myapp -n my-namespace