Skip to content

Bootstrap the Gateway API CRD chart on tainted control-plane nodes - #15070

Open
spicysharkco wants to merge 1 commit into
k3s-io:mainfrom
spicysharkco:fix/gateway-api-crd-bootstrap-15059
Open

spicysharkco wants to merge 1 commit into
k3s-io:mainfrom
spicysharkco:fix/gateway-api-crd-bootstrap-15059

Conversation

@spicysharkco

Copy link
Copy Markdown
Contributor

Proposed Changes

Mark the bundled Gateway API CRD chart as a bootstrap chart so its install Job tolerates control-plane taints.

Types of Changes

Bug fix.

Verification

The Gateway API Docker test starts its server with the control-plane NoSchedule taint and checks the CRDs before removing it. The existing deployment and routing checks then continue.

Testing

Source-built Linux/amd64 images: the regression fails before this change with the install Job Pending/Unschedulable; all seven Gateway API specs pass afterward. No new test helper or dependency.

Linked Issues

#15059

User-Facing Change

Allow bundled Gateway API CRDs to install on tainted control-plane nodes.

Further Comments

AI tools were used to prepare this change.

Signed-off-by: spicysharkco <321699413+spicysharkco@users.noreply.github.com>
@spicysharkco
spicysharkco requested a review from a team as a code owner November 27, 2026 11:46
@VelorumS

Copy link
Copy Markdown

Take a look at this: 191ca50

It handles traefik too. And it adds a test instead of replacing it.

Either one of the options is fine for me.

@codecov

codecov Bot commented Nov 27, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 48.95%. Comparing base (9b575d9) to head (53781f6).

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #15070      +/-   ##
==========================================
- Coverage   52.01%   48.95%   -3.07%     
==========================================
  Files         200      200              
  Lines       16102    16102              
==========================================
- Hits         8376     7882     -494     
- Misses       6414     6945     +531     
+ Partials     1312     1275      -37     
Flag Coverage Δ
e2etests 4.82% <ø> (-36.86%) ⬇️
inttests 39.89% <ø> (-0.02%) ⬇️
unittests 27.28% <ø> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants