Skip to content

Commit

Permalink
Removed Taint Generation (for now) (#834)
Browse files Browse the repository at this point in the history
  • Loading branch information
ellistarn authored Nov 22, 2021
1 parent fd91a8e commit 9aadb0e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/apis/provisioning/v1alpha5/constraints.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ func (c *Constraints) Tighten(pod *v1.Pod) *Constraints {
return &Constraints{
Labels: c.Labels,
Requirements: c.Requirements.With(PodRequirements(pod)).Consolidate().WellKnown(),
Taints: c.Taints.WithPod(pod),
Taints: c.Taints,
Provider: c.Provider,
}
}
1 change: 1 addition & 0 deletions pkg/controllers/provisioning/scheduling/suite_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -654,6 +654,7 @@ var _ = Describe("Taints", func() {
Expect(node.Spec.Taints).To(HaveLen(2)) // Expect no taints generated beyond defaults
})
It("should generate taints for pod tolerations", func() {
Skip("until taint generation is reimplmented")
pods := ExpectProvisioned(ctx, env.Client, scheduler, controller, provisioner,
// Matching pods schedule together on a node with a matching taint
test.UnschedulablePod(test.PodOptions{Tolerations: []v1.Toleration{
Expand Down

0 comments on commit 9aadb0e

Please sign in to comment.