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

Map function inputs to functions automatically via a catalog mechanism #3339

Open
bgrant0607 opened this issue Jun 30, 2022 · 2 comments
Open
Labels
area/hydrate enhancement New feature or request good first issue Good for newcomers triaged Issue has been triaged by adding an `area/` label

Comments

@bgrant0607
Copy link
Contributor

Forked from #3304 and #2528.

We've discussed using function catalogs to suggest functions based on metadata, such as applicable resource types intersected with types in a package, mutator vs validator, imperative vs idempotent, etc.

For cases where there is a specific KRM type that maps to a specific function, as with ApplyReplacements, my preferred solution is a function catalog mechanism, so that it doesn't need to be specified in the Kptfile at all.
https://github.com/kubernetes/enhancements/tree/master/keps/sig-cli/2906-kustomize-function-catalog

We just added a temporary hack to add the apply-replacements function to the Kptfile automatically in the UI, because I forget to do that half the time when running demos.
GoogleContainerTools/kpt-backstage-plugins#56

@justinsb
Copy link
Contributor

PoC in #3041

@droot
Copy link
Contributor

droot commented Jan 26, 2023

I will be happy to guide someone to contribute to this. Marking it as good first issue to invite collaborators.

@droot droot added good first issue Good for newcomers triaged Issue has been triaged by adding an `area/` label labels Jan 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/hydrate enhancement New feature or request good first issue Good for newcomers triaged Issue has been triaged by adding an `area/` label
Projects
None yet
Development

No branches or pull requests

4 participants