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.
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.
This PR creates a "sync" Kpt function that operates on a client-side "CRD"
ClusterPackages
. IncomingClusterPackages
resources get transformed into the series on resource nodes contained in the package dependencies listed by eachClusterPackages
object. The custom sync function chains variouskio.Filter
s together to ensure that variables are "pushed through" and template processing occurs. More info in the readme.