-
Notifications
You must be signed in to change notification settings - Fork 43
Open
Description
EC provides the ec.oci.image_manifest rego function which returns an Image Manifest given an image reference.
If the provided image reference refers to an Image Index, then ec.oci.image_manifest picks the correct Image Manifest and returns that. This is expected.
However, there are cases where we need to know if a certain image reference is for an Image Manifest or an Image Index. This is currently not possible due to the auto-resolution behavior mentioned above.
Acceptance Criteria
- EC provides a new rego function,
ec.oci.image_index, that returns an Image Index. If the image reference provided is not an Image Index, log a warning and return no value.
Metadata
Metadata
Assignees
Labels
No labels