nephio-project / nephio

Nephio is a Kubernetes-based automation platform for deploying and managing highly distributed, interconnected workloads such as 5G Network Functions, and the underlying infrastructure on which those workloads depend.
Apache License 2.0
93 stars 52 forks source link

Add kpt function type 'signature' #676

Open liamfallon opened 2 months ago

liamfallon commented 2 months ago

Original issue URL: https://github.com/kptdev/kpt/issues/3212 Original issue user: https://github.com/mortent Original issue created at: 2022-05-22T22:28:35Z Original issue last updated at: 2022-05-22T22:39:42Z Original issue body: For kpt functions, we should consider adding a signature that allows discovery of:

Original issue comments: Comment user: https://github.com/yuwenma Comment created at: 2022-05-22T22:39:17Z Comment last updated at: 2022-05-22T22:39:42Z Comment body: We have an internal design for function discovery about this. The proposal is to put those info in the OCI image annotations, and the general workflow has completed (porch pull function meta from OCI image annotation; kpt CLI filters functions via these info).

To support the 3 areas @mortent mentioned, we can extend the interface. I'll convert the doc to an external kpt Design Doc first so we can discuss in more details.