kpt icon indicating copy to clipboard operation
kpt copied to clipboard

Epic: Starlark SDK

Open droot opened this issue 4 years ago • 4 comments

  • [ ] Map out the requirements for the Starlark SDK

droot avatar Jan 20 '22 00:01 droot

Some items in https://github.com/GoogleContainerTools/kpt/issues/2504#issuecomment-919414489 may be related.

mengqiy avatar Jan 20 '22 00:01 mengqiy

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.items as strong typed objects (protobuf). This only supports the k8s API types.
  • [feat] https://github.com/GoogleContainerTools/kpt/issues/2201
  • [feat] #2350 include-file function (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 kyaml equivalent library that starlark users can load. 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).

yuwenma avatar Jan 29 '22 03:01 yuwenma

[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.

natasha41575 avatar Mar 07 '22 22:03 natasha41575

Could we merge this issue and #2504?

bgrant0607 avatar Jul 08 '22 16:07 bgrant0607