Skip to content

Commit

Permalink
Revert "fix(k8s): fix workloads with admission controller dependency"
Browse files Browse the repository at this point in the history
This reverts commit 7fcb970.
  • Loading branch information
wdhif committed Nov 22, 2024
1 parent eefd2de commit e87653c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scenarios/aws/eks/run.go
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ func Run(ctx *pulumi.Context) error {
}

// dogstatsd clients that report to the Agent
if _, err := dogstatsd.K8sAppDefinition(&awsEnv, cluster.KubeProvider, "workload-dogstatsd", 8125, "/var/run/datadog/dsd.socket", utils.PulumiDependsOn(workloadWithCRDDeps...)); err != nil {
if _, err := dogstatsd.K8sAppDefinition(&awsEnv, cluster.KubeProvider, "workload-dogstatsd", 8125, "/var/run/datadog/dsd.socket", utils.PulumiDependsOn(cluster)); err != nil {
return err
}

Expand All @@ -129,7 +129,7 @@ func Run(ctx *pulumi.Context) error {
return err
}

if _, err := mutatedbyadmissioncontroller.K8sAppDefinition(&awsEnv, cluster.KubeProvider, "workload-mutated", "workload-mutated-lib-injection", utils.PulumiDependsOn(workloadWithCRDDeps...)); err != nil {
if _, err := mutatedbyadmissioncontroller.K8sAppDefinition(&awsEnv, cluster.KubeProvider, "workload-mutated", "workload-mutated-lib-injection", utils.PulumiDependsOn(cluster)); err != nil {
return err
}
}
Expand Down

0 comments on commit e87653c

Please sign in to comment.