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

[WIP] kpt fn command to embed fn-config in a function image #3127

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

mortent
Copy link
Contributor

@mortent mortent commented May 11, 2022

This is a POC for a kpt fn command that allows users to creates a new docker image that embeds the function config within the image. This allows for creating specific images from our more generic images available in the function catalog and avoid having to distribute the function config separately. It does this simply by adding a new layer to the function image that includes the function config in a well-known location (currently /localconfig/fn-config.yaml).

A function can then chose to use the local config if a different one is not provided in the input (or we could say that the local always win regardless). An example of this in here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant