diff --git a/cmd/shell.go b/cmd/shell.go index 7380111..83934ab 100644 --- a/cmd/shell.go +++ b/cmd/shell.go @@ -5,7 +5,6 @@ import ( "os" "os/exec" "os/user" - "strconv" "strings" "syscall" @@ -126,7 +125,7 @@ func buildShellKubectlArgs(podName string, image string, istioEnabled bool, serv overrides.Metadata.Name = "" overrides.Metadata.GenerateName = podName + "-" overrides.Metadata.Annotations = map[string]string{ - "sidecar.istio.io/inject": strconv.FormatBool(istioEnabled), + "ad.datadoghq.com/exclude": "true", } if serviceaccount != "" {