-
Notifications
You must be signed in to change notification settings - Fork 218
Open
Labels
area/ociOCI related issues and pull requestsOCI related issues and pull requests
Description
There is limited support for OCI artifacts that hadn't been built with Flux CLI.
One can use spec.layerSelector.mediaType, however it doesn't handle searching images with an index.
There is also spec.layerSelector.operation that can be set to copy or extract.
There are also some non-configurable assumptions:
- it's only possible to select either just the first layer or the first one that matches the given media type
spec.layerSelector.operation: copywrites files with.tgzextension, layer content be any kind of format, e.g. JSON
Proposal:
- allow serach from index, with support for nested indecies also
- change ops constant names to
CopyandExtractto match Kubernetes style - provide some way of setting name of the destination files for
Copy, by default it could be derrived from the media type name, e.g.tar+gzvsjson+gz - allow specifying layer offset with default being 0
- allow exacting multiple layers, perhaps this could be accomplished with
operation: MergeDirandoperation: LayerPerDir
Some of these changes may be more complex than others, just opening this for a discussion.
KarstenSiemer
Metadata
Metadata
Assignees
Labels
area/ociOCI related issues and pull requestsOCI related issues and pull requests