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

Component filtering #197

Draft
wants to merge 9 commits into
base: main
Choose a base branch
from

Conversation

kate-goldenring
Copy link
Collaborator

Spin CLI added support for spin up --component-id "foo" --component-id "bar" to run a subset of components of a Spin app in fermyon/spin#2826.

This brings that functionality to the shim assuming that the components to support are supplied in SPIN_COMPONENTS_TO_RETAIN environment variable of a Pod as a comma separated list (SPIN_COMPONENTS_TO_RETAIN="foo,bar").

In the Spin Operator, we can add a field to the SpinApp CR spec called components that lists which components of an app to retain in a pod.

This is on top of @rylev's changes #189. The additive changes are in 1006722

rylev and others added 9 commits September 23, 2024 14:07
Signed-off-by: Ryan Levick <[email protected]>
Signed-off-by: Ryan Levick <[email protected]>
Signed-off-by: Ryan Levick <[email protected]>
Signed-off-by: Ryan Levick <[email protected]>
Signed-off-by: Ryan Levick <[email protected]>
Signed-off-by: Ryan Levick <[email protected]>
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.

2 participants