-
Notifications
You must be signed in to change notification settings - Fork 229
Description
Is your feature request related to a problem? Please describe.
In order to support OSS projects (and their maintainers) and the inclusion of Air Gap testing and validation of that project using Zarf, it would be valuable if Zarf could generate the zarf.yaml file based on a provided git repository containing a helm chart.
(This has other possible value - such as it relates to #513 - but I wanted to provide a specific scenario and persona to provide for initial logic.)
This logic could be a repeatable way to abstract zarf knowledge required by OSS maintainers into automation that can generate a file that can easily be consumed by end users with zarf package create.
Ideally this could be valuable during release candidate testing - but also flow into testing of air gap in CI.
Describe the solution you'd like
Execute zarf package generate <helm chart repo git url/helm registry url> (or similar) to begin the generation of a zarf.yaml file. This command would use logic such as that in zarf prepare find-images to find the images in the chart, and otherwise use the helm chart target to instantiate the chart required fields.
Describe alternatives you've considered
None - This feature is proposed to help assist OSS projects understand air gap considerations and test/validate them without needing to be a zarf expert.
Additional context
Discussions around supporting open source and the ability to test air gap in CI spurred thiis thought.