kpt
kpt copied to clipboard
Epic: Starlark SDK
- [ ] Map out the requirements for the Starlark SDK
Some items in https://github.com/GoogleContainerTools/kpt/issues/2504#issuecomment-919414489 may be related.
Tasks:
- [feat]scaffolding: #2392
- [docs] Re-write kpt.dev starlark guide
- [feat] Define test framework if users contribute to kpt catalog.
- [feat] make
resource_list.itemsas strong typed objects (protobuf). This only supports the k8s API types. - [feat] https://github.com/GoogleContainerTools/kpt/issues/2201
- [feat] #2350
include-filefunction (may need a different design than what is proposed) - [refactor/feat] Simplify UX. Currently provides three different ways to call starlark file, we can simplify the UX once include-file is done.
- [feat] Provide the
kyamlequivalent library that starlark users canload. the Library functions shall be aligned with go SDK library
Bugs:
- https://github.com/GoogleContainerTools/kpt/issues/2487
Extensions:
- [feat] Support loading KCC as builtin strong typed object (protobuf).
- [feat] Support loading customers CRD as builtin strong typed object (protobuf).
[feat] Provide the kyaml equivalent library that starlark users can load. the Library functions shall be aligned with go SDK library
As part of this, we should provide a GVKN matching function, e.g. isGVKN(r, "v1", "ConfigMap", "gcloud-config.kpt.dev") would greatly simplify the starlark function for the value propagation task.
Could we merge this issue and #2504?