kptdev / kpt

Automate Kubernetes Configuration Editing
https://kpt.dev
Apache License 2.0
1.71k stars 227 forks source link

Epic: Golang SDK for building functions #1642

Open mengqiy opened 3 years ago

mengqiy commented 3 years ago

Forking from https://github.com/GoogleContainerTools/kpt-functions-catalog/pull/196#discussion_r604334320

We currently have a SDK for TS. We should have a similar SDK in golang. IMO it may look like kubebuilder. It should provide

mikebz commented 3 years ago

@mengqiy any guess as to the size of this effort?

mengqiy commented 3 years ago

This task needs to be designed first and then implemented. We may want to break this task to smaller ones and we can use this one as an umbrella issue.

mengqiy commented 3 years ago

In Q4, we are focusing on improving the library (kyaml).

khrisrichardson commented 2 years ago

IMO it may look like kubebuilder

@mengqiy FWIW, I love this idea so that the function code can be decorated to produce a CRD validation schema among other useful side-effects ala controller-tools