seek-oss / kpt-functions

A library of Kpt functions for extending Kpt's functionality
MIT License
3 stars 3 forks source link

Implement opinionated sync workflow #6

Closed ashlineldridge closed 3 years ago

ashlineldridge commented 3 years ago

This PR creates a "sync" Kpt function that operates on a client-side "CRD" ClusterPackages. Incoming ClusterPackages resources get transformed into the series on resource nodes contained in the package dependencies listed by each ClusterPackages object. The custom sync function chains various kio.Filters together to ensure that variables are "pushed through" and template processing occurs. More info in the readme.

Niksko commented 3 years ago

Really cool! Keen to start using this and we'll iterate from there. I'm going to merge as is because the diff is huge, and anything we need to fix up we can do in other PRs.