From 4cff34edd1e0c578daa2935bbc273e842d485f5b Mon Sep 17 00:00:00 2001 From: Brandon Date: Thu, 23 Sep 2021 10:09:06 -0500 Subject: [PATCH] add provisioner taints to nodes --- pkg/controllers/allocation/controller.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/controllers/allocation/controller.go b/pkg/controllers/allocation/controller.go index ad42727d6c10..bf338ea9bd47 100644 --- a/pkg/controllers/allocation/controller.go +++ b/pkg/controllers/allocation/controller.go @@ -134,6 +134,7 @@ func (c *Controller) Reconcile(ctx context.Context, req reconcile.Request) (reco map[string]string{v1alpha4.ProvisionerNameLabelKey: provisioner.Name}, packing.Constraints.Labels, ) + node.Spec.Taints = append(node.Spec.Taints, packing.Constraints.Taints...) return c.Binder.Bind(ctx, node, packing.Pods) }) })