From 2bb2cf73f2c9ee534d443e6f4fe1c0563d3f12cb Mon Sep 17 00:00:00 2001 From: Wassim DHIF Date: Wed, 20 Nov 2024 20:33:11 +0100 Subject: [PATCH] fix(kind): fix workloads with admission controller dependency Signed-off-by: Wassim DHIF --- scenarios/aws/kindvm/run.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scenarios/aws/kindvm/run.go b/scenarios/aws/kindvm/run.go index ad9f84ba8..580b4bf90 100644 --- a/scenarios/aws/kindvm/run.go +++ b/scenarios/aws/kindvm/run.go @@ -182,7 +182,7 @@ agents: } // dogstatsd clients that report to the Agent - if _, err := dogstatsd.K8sAppDefinition(&awsEnv, kindKubeProvider, "workload-dogstatsd", 8125, "/var/run/datadog/dsd.socket"); err != nil { + if _, err := dogstatsd.K8sAppDefinition(&awsEnv, kindKubeProvider, "workload-dogstatsd", 8125, "/var/run/datadog/dsd.socket", dependsOnCrd); err != nil { return err } @@ -200,7 +200,7 @@ agents: return err } - if _, err := mutatedbyadmissioncontroller.K8sAppDefinition(&awsEnv, kindKubeProvider, "workload-mutated", "workload-mutated-lib-injection"); err != nil { + if _, err := mutatedbyadmissioncontroller.K8sAppDefinition(&awsEnv, kindKubeProvider, "workload-mutated", "workload-mutated-lib-injection", dependsOnCrd); err != nil { return err } }