Skip to content

Allow different filenames to be built. #4487

@Dale-Sample

Description

@Dale-Sample

It's difficult to create many deployments of similar but not identical collections of zarf files

I'd like to be able to do something like:
root
small.zarf.yaml - import x,y
big.zarf.yaml -import x,y,z,a,b,c,...
x
x-deploy.yaml
...
...
and use the command
zarf package create small.zarf.yaml to create the small package.
and
zarf package create big.zarf.yaml to create the big package.

Describe the behavior you'd like

  • Given a file path exists with a zarf file that can be built.
  • When zarf package create ${the file}.yaml
  • Then a zarf package is created using that file. No change for the default behavior of package create.

Describe alternatives you've considered

I'm fine with any number of possible solutions, including
zarf package create --file theFile.yaml
or
zarf package create /the/path/to/the/folder/with/the/file/
as long as I can point multiple files to the same root setup.
I prefer the complete path to a file option over a directory, but supporting both would be nice (though the directory option is not one that I'm super excited about, if it were dropped I wouldn't care).

Additional context

Add any other context or screenshots about the feature request here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    Triage

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions