diff --git a/pkg/registry/plugin.go b/pkg/registry/plugin.go index 959faaa7d..ef9887d30 100644 --- a/pkg/registry/plugin.go +++ b/pkg/registry/plugin.go @@ -62,6 +62,7 @@ func (c *Client) PullPlugin(ref string, pluginName string, options ...PluginPull genericResult, err := genericClient.PullGeneric(ref, GenericPullOptions{ // Allow manifests and all layer types - we'll validate artifact type after download AllowedMediaTypes: []string{ + ocispec.MediaTypeImageIndex, ocispec.MediaTypeImageManifest, "application/vnd.oci.image.layer.v1.tar", "application/vnd.oci.image.layer.v1.tar+gzip",