mirror of
https://github.com/fluxcd/flux2.git
synced 2026-05-23 09:55:55 +00:00
The flux pull artifact command currently extracts only the first layer of the OCI manifest, which prevents pulling arbitrary layers from OCI artifacts not created by flux. The underlying oci.Client.Pull already accepts a WithPullLayerIndex option but it was not exposed to the CLI. Add a --layer-index int flag (default -1, meaning unset) wired through to oci.WithPullLayerIndex when set. The default flow is unchanged. Signed-off-by: Ruslan Shaydullin <shaydullin.r.d@outlook.com> Assisted-by: claude-code/claude-opus-4-7 |
||
|---|---|---|
| .. | ||
| flux | ||