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

kubernetes-sigs / kubebuilder / 21337405967
74%
master: 73%

Build:
Build:
LAST BUILD BRANCH: fix-applyconfiguration
DEFAULT BRANCH: master
Ran 25 Jan 2026 06:36PM 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

25 Jan 2026 06:26PM UTC coverage: 73.737%. Remained the same
21337405967

Pull #5116

github

nerdeveloper
📖 Refactor sampleexternalplugin to be a valid reference implementation

Transform the sample external plugin from mock scaffolding to a realistic
Prometheus monitoring generator that demonstrates best practices for external
plugin development.

Key changes:
- Implement init and edit subcommands that scaffold Prometheus instance manifests
- Add PROJECT config reading to align with internal plugin patterns
- Replace mock ServiceMonitor with complete Prometheus CR including RBAC
- Add --namespace flag support to demonstrate argument passing
- Update documentation with realistic examples showing argument usage
- Fix error handling to properly validate PROJECT file existence
- Centralize kustomization in config/default/kustomization.yaml (no separate prometheus kustomization)
- Provide clear instructions for users to add Prometheus resources manually

The plugin now serves as a proper reference implementation for:
- Reading PROJECT configuration in external plugins
- Scaffolding production-ready Kubernetes manifests
- Supporting command-line arguments (--namespace flag)
- Testing plugins against local Kubebuilder source
- Adding optional monitoring features via edit subcommand
- Following Kubebuilder's centralized kustomization pattern

Addresses maintainer feedback on PR 5116 including proper error handling,
argument passing examples, realistic manifest generation, and centralized kustomization.
Pull Request #5116: 📖 Refactor sampleexternalplugin to be a Valid Reference Implementation

6595 of 8944 relevant lines covered (73.74%)

39.96 hits per line

Jobs
ID Job ID Ran Files Coverage
1 21337405967.1 25 Jan 2026 06:36PM UTC 100
73.74
GitHub Action Run
Source Files on build 21337405967
  • Tree
  • List 100
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #5116
  • PR Base - master (#21327992330)
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