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

Support producing different bundle artifacts from single bundle yaml #945

Open
jacobbmay opened this issue Sep 27, 2024 · 0 comments
Open
Labels
enhancement New feature or request

Comments

@jacobbmay
Copy link

Is your feature request related to a problem? Please describe

If a delivery engineer has to support multiple deployment environments (ie RKE2 and eks-d) with the same application stack, there can be differences between each environment that require different dependencies to be included in the bundle. To support this currently, it requires maintaining separate bundle.yaml files for each environment that are almost identical except for a few line differences.

An example is needing to deploy a csi-snapshot chart in eks-d that isn't needed in RKE2 because it includes one by default. Currently supporting both environments requires maintaining two separate bundle.yaml files that only have 2 lines that are different between them to enable an optional component needed for eks-d that isn't needed for RKE2.

Describe the solution you'd like

I would like the ability to exclude packages and/or optional zarf components in a bundle.yaml at build time so that a single bundle.yaml file can be used to generate similar bundle artifacts.

Not sure the best way to implement this, but a possible solution could be similar to zarf flavors. A bundle could optionally have multiple flavors defined and packages and/or optional components can be marked as part of a specific flavor. The uds create command could then have a flavor flag to specify which version of the bundle you want to build. Will definitely defer to the team on specific implementation, just throwing out thoughts so far as a user.

@jacobbmay jacobbmay added the enhancement New feature or request label Sep 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant