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

Kpt functions eventually should get their configuration from OpenAPI #1252

Open
mengqiy opened this issue Dec 2, 2020 · 1 comment
Open
Labels
area/fn-catalog Functions Catalog p2 triaged Issue has been triaged by adding an `area/` label

Comments

@mengqiy
Copy link
Contributor

mengqiy commented Dec 2, 2020

Kpt fn may different configurations depending what their jobs are.
e.g. set-namespace function needs to know what is the path to the namespace field and what resources are namespaced resources.
e.g. set-label function needs to know what is the paths to the labels and selectors fields.

2 things need to be solved before we get there:

  • Ability to configure the OpenAPI document used by kpt (design in progress)
  • OpenAPI document capturing references information (e.g. namespaces)

This was originally discussed in GoogleContainerTools/kpt-functions-catalog#123 (comment)

@mengqiy mengqiy added area/fn-catalog Functions Catalog triaged Issue has been triaged by adding an `area/` label labels Dec 2, 2020
@Shell32-Natsu Shell32-Natsu self-assigned this Dec 9, 2020
@natasha41575
Copy link
Contributor

will be part of #1521

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/fn-catalog Functions Catalog p2 triaged Issue has been triaged by adding an `area/` label
Projects
None yet
Development

No branches or pull requests

3 participants