Skip to content

rename: kvirtbp → kapture#7

Merged
phenixblue merged 1 commit into
mainfrom
rename/kapture
Apr 9, 2026
Merged

rename: kvirtbp → kapture#7
phenixblue merged 1 commit into
mainfrom
rename/kapture

Conversation

@phenixblue
Copy link
Copy Markdown
Owner

Summary

Renames the project from kvirtbp to kapture across all code, documentation, tests, scripts, and configuration.

Changes

  • Go module: github.com/phenixblue/kvirtbpgithub.com/phenixblue/kapture
  • Binary: kvirtbpkapture
  • cmd directory: cmd/kvirtbp/cmd/kapture/
  • Rego packages: package kvirtbppackage kapture
  • Data path: data.kvirtbp.*data.kapture.*
  • Env vars: KVIRTBP_*KAPTURE_*
  • Config path: ~/.config/kvirtbp/~/.config/kapture/
  • K8s namespace: kvirtbp-collectorskapture-collectors
  • API version: kvirtbp/v1alpha1kapture/v1alpha1
  • GoReleaser: project name, binary name, homebrew formula updated
  • All docs, scripts, test fixtures, and E2E scripts updated

Verification

  • go build ./... — clean
  • go test ./... — 12/12 packages pass
  • opa test examples/collectors/portworx-kubevirt/ — 77/77 pass
  • opa test policy/ --v0-compatible — 19/19 pass
  • Zero remaining kvirtbp/KVIRTBP occurrences in source files

Checklist

  • No logic changes — rename only
  • All tests pass
  • Homebrew formula and GoReleaser config updated
  • GitHub repository rename (Settings → Rename) is a separate step

- Rename cmd/kvirtbp/ → cmd/kapture/
- Update Go module path: github.com/phenixblue/kvirtbp → github.com/phenixblue/kapture
- Rename binary, Makefile BINARY var, and goreleaser project_name
- Update all Rego package names: package kvirtbp → package kapture
- Update all data.kvirtbp references in Rego policies and tests
- Rename env vars: KVIRTBP_* → KAPTURE_*
- Rename config dir: ~/.config/kvirtbp/ → ~/.config/kapture/
- Rename default K8s namespace: kvirtbp-collectors → kapture-collectors
- Rename lab cluster names and resource labels in e2e scripts
- Update all docs, README, and homebrew references
- 96/96 tests passing (77 OPA + 19 policy baseline + all Go tests)
@phenixblue phenixblue merged commit fa98739 into main Apr 9, 2026
4 checks passed
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.

1 participant