/controller-stamp

Generate common controller code

Primary LanguageGoApache License 2.0Apache-2.0

Controller Stamp

This is a proof-of-concept code generator that prints out code for a reconciler as might be generated by OperatorSDK.

The idea is that bootstrapping reconciliation for secondary resources should be quick. Go-based operators should have a starting point that isn't "an empty reconcile func".

A full list of supported secondary resources can be found here.

A full list of supported templates can be found here.

It is up to the developer to fill in their secondary resource spec as a function of their primary resource's spec, and setup the controller with the manager.