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

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

Build:
Build:
LAST BUILD BRANCH: add-samples-helm
DEFAULT BRANCH: master
Ran 04 Jan 2026 09:57AM UTC
Jobs 1
Files 100
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

04 Jan 2026 09:47AM UTC coverage: 71.354%. Remained the same
20691082072

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

6180 of 8661 relevant lines covered (71.35%)

29.69 hits per line

Jobs
ID Job ID Ran Files Coverage
1 20691082072.1 04 Jan 2026 09:56AM UTC 100
71.35
GitHub Action Run
Source Files on build 20691082072
  • Tree
  • List 100
  • 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 (#20691066176)
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