-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Labels
Description
Summary
Develop a generic adapter for the validator framework to watch arbitrary CRs and convert them into ValidationResults.
This will allow us to instantly ingest things like Audits (internal CRs produced by tick) and K8sGPT Results, etc. We can deprecate further tick development using this approach and remove it entirely over time.
Requirements
- Introduce a new custom resource, ValidationResultConverter & controller for same in validator core
- Design a VRC spec to generically map arbitrary CRD fields to ValidationResult fields
- Implement controller to reconcile VRCs, using a dynamic K8s client to continuously fetch source CRs and convert them into VRs