Skip to content

🏗 Generic CR -> VR adapter #295

@ahmad-ibra

Description

@ahmad-ibra

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions