zarf
zarf copied to clipboard
`--max-package-size` Flag fails to split zarf package, Impacts package integrity
Environment
Device and OS: Apple Macbook Pro, MacOS Sonoma 14.3.1 App version: 0.32.3 Kubernetes distro being used: k3s Other:
Steps to reproduce
- Run
zarf package create --confirm --max-package-size=4500 --log-level=info
Expected result
Package compiles and separates into equal parts at/below set size limit, package can be inspected and deployed with zarf package inspect
and zarf package deploy
commands. Package recompiles into single part when said commands are run.
Actual Result
Package compiles into inequal parts (one large part.000
and several smaller parts). Package cannot be inspected or deployed because package integrity check fails. Package does not recompile into single tar.zst
when zarf package inspect
or zarf package deploy
are ran against it.
Visual Proof (screenshots, videos, text, etc)
Severity/Priority
Additional Context
Add any other context or screenshots about the technical debt here.
Possible duplicate of https://github.com/defenseunicorns/zarf/issues/2313, resolved by https://github.com/defenseunicorns/zarf/pull/2314. Will be included in the next release (v0.32.4+).
In the meantime I would downgrade Zarf to v0.32.2 as @daniel-palmer-gu suggested.
If you want to verify the upcoming Zarf version will fix your issue, please can build off main and let us know!
Closing as this should be fixed now in Zarf v0.32.4+