Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Epic: Starlark SDK #2653

Open
1 task
droot opened this issue Jan 20, 2022 · 4 comments
Open
1 task

Epic: Starlark SDK #2653

droot opened this issue Jan 20, 2022 · 4 comments
Assignees
Labels
area/fn-sdk Typescript SDK enhancement New feature or request triaged Issue has been triaged by adding an `area/` label

Comments

@droot
Copy link
Contributor

droot commented Jan 20, 2022

  • Map out the requirements for the Starlark SDK
@droot droot added the enhancement New feature or request label Jan 20, 2022
@droot droot added the triaged Issue has been triaged by adding an `area/` label label Jan 20, 2022
@mengqiy
Copy link
Contributor

mengqiy commented Jan 20, 2022

Some items in #2504 (comment) may be related.

@yuwenma
Copy link
Contributor

yuwenma commented Jan 29, 2022

Tasks:

  • [feat]scaffolding: Starlark function generator #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] Support structured results in the starlark function #2201
  • [feat] include-file function #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:

Extensions:

  • [feat] Support loading KCC as builtin strong typed object (protobuf).
  • [feat] Support loading customers CRD as builtin strong typed object (protobuf).

@natasha41575
Copy link
Contributor

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

@bgrant0607
Copy link
Contributor

Could we merge this issue and #2504?

@mortent mortent added this to kpt Jan 21, 2023
@mortent mortent moved this to Backlog in kpt Jan 25, 2023
@mortent mortent added the area/fn-sdk Typescript SDK label Jan 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/fn-sdk Typescript SDK enhancement New feature or request triaged Issue has been triaged by adding an `area/` label
Projects
None yet
Development

No branches or pull requests

6 participants