Skip to content

docs: post-v0.7.7 clarity review#188

Merged
iAlexeze merged 4 commits into
mainfrom
docs-and-clarity-review/post-77-release
Jun 26, 2026
Merged

docs: post-v0.7.7 clarity review#188
iAlexeze merged 4 commits into
mainfrom
docs-and-clarity-review/post-77-release

Conversation

@iAlexeze

Copy link
Copy Markdown
Collaborator

Summary

Clarity pass following the v0.7.7 release — naming consistency, documentation cleanup, and package consolidation.

  • Terminology: webhookControllerhousekeeper throughout — Go API (IsHousekeeperEnabled, HousekeeperStats, HousekeeperSyncInterval), config struct (Webhooks.Housekeeper), env vars (ENABLE_HOUSEKEEPER, HOUSEKEEPER_SYNC_INTERVAL), JSON health fields, and all docs. The file was already housekeeper.go; now the API surface matches.
  • Package consolidation: pkg/spinner dissolved into pkg/utils — removes the one-way dependency on utils for two symbols (SuccessMark, FailureMark) and eliminates the cmd/cli re-export wrapper. StartSpinner and Spinner now live in pkg/utils.
  • Package docs: domain/README.md added — covers Object, Komponent, Health, and the ReconcileHooks[T]ObjectHooks hook type system.
  • Doc cleanup: stale and unclear wording fixed across security docs, examples, and guides.

iAlexeze added 4 commits June 26, 2026 04:35
The concept was already named housekeeper (pkg/webhook/housekeeper.go,
WireWebhookHousekeeperInfra, all prose) but the Go API surface and docs
still used WebhookController. This finishes the rename everywhere:

Code:
- IsWebhookControllerEnabled() → IsHousekeeperEnabled()
- WebhookControllerSyncInterval() → HousekeeperSyncInterval()
- WebhookControllerStats() → HousekeeperStats() (method + type)
- konfig: Webhooks.Controller → Webhooks.Housekeeper
- env vars: ENABLE_WEBHOOK_CONTROLLER → ENABLE_HOUSEKEEPER
           WEBHOOK_CONTROLLER_SYNC_INTERVAL → HOUSEKEEPER_SYNC_INTERVAL
- JSON health fields: webhookController/webhookControllerStats → housekeeper/housekeeperStats

Docs: all remaining "webhook controller" prose → "housekeeper"
Spinner had its own package but only used utils.SuccessMark/FailureMark —
moving it into utils removes the dependency, collapses the package, and
eliminates the cmd/cli re-export indirection.

- pkg/utils/spinner.go: spinner code lives here now (StartSpinner, Spinner type)
- pkg/spinner/: deleted
- cmd/cli/spinner.go: updated to return *utils.Spinner
- pkg/e2e/runner.go, pkg/ork/deps.go, helper.go, kind.go: import updated

domain/README.md: package-level docs — what each file defines, why
the package exists as a separate import, and how the hook type system
(ReconcileHooks[T] → ObjectHooks) is structured.
@iAlexeze iAlexeze merged commit c4ed1ef into main Jun 26, 2026
6 checks passed
@iAlexeze iAlexeze deleted the docs-and-clarity-review/post-77-release branch June 26, 2026 04:59
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