Related Projects
GitOps Export OpenShift Console Plugin
scrubctl shares classification and sanitization logic with the GitOps Export OpenShift console plugin.
Both tools produce identical output for the same input. The repository verifies that behavior with shared golden test fixtures.
Use the plugin when you want the workflow in the OpenShift console. Use scrubctl when you want a terminal, CI, or automation workflow.
Shared Logic
The shared behavior covers:
| Area | Shared behavior |
|---|---|
| Classification | include, cleanup, review, and exclude decisions |
| Sanitization | Removal of server-assigned metadata, runtime fields, status, and runtime annotations |
| Archive output | Structured include, cleanup, and review manifest output |