Add an only.flavor
key to Zarf components
#2101
Labels
enhancement ✨
New feature or request
Milestone
only.flavor
key to Zarf components
#2101
Is your feature request related to a problem? Please describe.
As Ezra I want the ability to specify "flavors" of Zarf packages and select between them on
zarf package create
so that I can swap chunks of things likeimages
andvaluesFiles
without the need to have an entirely separate copy of a Zarf package definition.Describe the solution you'd like
only.flavor
zarf package create --flavor my-flavor
zarf package create
without aflavor
Describe alternatives you've considered
We could have higher order keys like
imageSets
or have other extensions but this adds complexity without taking advantage of a lot of the base Zarf primitive manipulation that can be done through composability.Additional context
This initial ask came from a desire to swap images to have a hardened and an upstream version of the same underlying package to help with package development and testing.
The text was updated successfully, but these errors were encountered: