Separate validation pipelines from the kpt file
Describe your problem
Currently validation and mutation pipelines are part of the kptfile. Separating the validation pipelines out into separate files would allow for different rules and different pipelines to execute in different conditions or according to different user preferences / permissions. Git + OWNERS file can enforce rules
- Allow to break the pipeline from the kpfile resource -> @kispaljr
- Define the pipeline in a separate file
- This allow us to separate the pipelines like mutation pipeline and validation pipeline
- Open up the possibility to have different kind of pipelines
- In the far future we can make the pipelines pluggable, like create other pipelines not implemented in kpt, like Ansible, GitLab or whatever
Enhancement discussed as part of the Nephio meetup Sept 2025
Hi @ciaranjohnston, I’d like to pick this up. I'll start by analyzing the current Kptfile structure code and will post a brief proposal here before I start implementation.
Hi @Jaisheesh-2006 , please be aware that there is a large restructuring PR under review that you should consider in this work, see https://github.com/kptdev/kpt/pull/4355
Thanks for letting me know, @liamfallon. I'll review #4355 to gauge the complexity and confirm if I can still effectively contribute to this issue in parallel