• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

kubernetes-sigs / karpenter / 23334981059

20 Mar 2026 08:28AM UTC coverage: 80.262% (+0.007%) from 80.255%
23334981059

Pull #2924

github

leoryu
fix: complete operator enum validation for NodeSelectorRequirement

The kubebuilder validation enum for the Operator field in both
NodeSelectorRequirementWithMinValues (v1/nodeclaim.go) and
NodeSelectorRequirement (v1alpha1/nodeoverlay.go) was incomplete,
only allowing Gte and Lte while omitting In, NotIn, Exists,
DoesNotExist, Gt, and Lt. This caused valid operators to be
incorrectly rejected during API validation.
Pull Request #2924: fix: complete operator enum validation for NodeSelectorRequirement

12081 of 15052 relevant lines covered (80.26%)

121196.57 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

76.68
/pkg/controllers/node/termination/controller.go


Source Not Available

STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc