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

kubernetes-sigs / karpenter / 17758573096

16 Sep 2025 07:44AM UTC coverage: 81.78% (+0.02%) from 81.758%
17758573096

Pull #2507

github

sunbinnnnn
fix(node): prevent empty providerID causing false NodeClaim matches

Add guard clause in GetNodeClaims to prevent nodes with empty
spec.providerID from matching NodeClaims with empty status.providerID.

This resolves the issue where master nodes and other non-Karpenter
nodes were incorrectly labeled with NodeClass labels during
NodeClaim creation.
Pull Request #2507: fix(node): prevent empty providerID causing false NodeClaim matches

3 of 5 new or added lines in 1 file covered. (60.0%)

11203 of 13699 relevant lines covered (81.78%)

71749.96 hits per line

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

73.39
/pkg/utils/node/node.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

© 2025 Coveralls, Inc