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

kubernetes-sigs / kubebuilder / 20683018367
71%
master: 72%

Build:
Build:
LAST BUILD BRANCH: add-samples-helm
DEFAULT BRANCH: master
Ran 03 Jan 2026 09:24PM UTC
Jobs 1
Files 128
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

03 Jan 2026 09:14PM UTC coverage: 61.221%. Remained the same
20683018367

Pull #5336

github

camilamacedo86
✨ (go/v4): Add optional kubectl context locking for e2e tests

E2E tests now support optional context locking via KUBE_CONTEXT environment
variable. When set, tests validate and lock to the specified kubectl context,
preventing context switching during execution.

Features:
- Display current kubectl context at test startup
- Validate context matches KUBE_CONTEXT if set
- Add --context flag to all kubectl commands when locked
- 100% backward compatible (opt-in feature)

Usage:
  KUBE_CONTEXT=kind-test make test-e2e

This addresses feedback from PR #5329 about preventing inadvertent context
switching during test execution, while maintaining ease of use (works without
any env vars by default).

Assisted-by: Cursor
Pull Request #5336: ✨ (go/v4): Add optional kubectl context locking for e2e tests

5898 of 9634 relevant lines covered (61.22%)

26.05 hits per line

Jobs
ID Job ID Ran Files Coverage
1 20683018367.1 03 Jan 2026 09:24PM UTC 128
61.22
GitHub Action Run
Source Files on build 20683018367
  • Tree
  • List 128
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #5336
  • PR Base - master (#20683011402)
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