Skip to content

Commit 5ab65a1

Browse files
fix: add ELASTIC_AGENT_OTEL in TestKubernetesAgentOtel (#8625)
1 parent a426d4b commit 5ab65a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

testing/integration/k8s/kubernetes_agent_standalone_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ func TestKubernetesAgentOtel(t *testing.T) {
181181
steps: []k8sTestStep{
182182
k8sStepCreateNamespace(),
183183
k8sStepDeployKustomize("elastic-agent-standalone", k8sKustomizeOverrides{
184-
agentContainerExtraEnv: []corev1.EnvVar{},
184+
agentContainerExtraEnv: []corev1.EnvVar{{Name: "ELASTIC_AGENT_OTEL", Value: "true"}},
185185
agentContainerArgs: []string{}, // clear default args
186186
}, nil),
187187
},

0 commit comments

Comments
 (0)