Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add provisioner taints to nodes
Browse files Browse the repository at this point in the history
bwagner5 committed Sep 23, 2021
1 parent b780af4 commit 4cff34e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/controllers/allocation/controller.go
Original file line number Diff line number Diff line change
@@ -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)
})
})

0 comments on commit 4cff34e

Please sign in to comment.