Skip to content

Commit

Permalink
fix(k8s): remove replicasets and daemonsets when deleting services
Browse files Browse the repository at this point in the history
Closes #379
  • Loading branch information
edvald committed Dec 3, 2018
1 parent 5148cdb commit 6c63314
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion garden-service/src/plugins/kubernetes/deployment.ts
Original file line number Diff line number Diff line change
Expand Up @@ -528,7 +528,7 @@ export async function deleteContainerService(
namespace,
labelKey: "service",
labelValue: serviceName,
objectTypes: ["deployment", "service", "ingress"],
objectTypes: ["deployment", "replicaset", "pod", "service", "ingress", "daemonset"],
includeUninitialized: false,
})

Expand Down

0 comments on commit 6c63314

Please sign in to comment.