What happened:
This is a missing feature on the blob and the Location type in the Plugin.
What you expected to happen:
Right now, if upload with helm is done, it's an octet-stream because it's not setting the MediaType on the blob during upload.
How to reproduce it (as minimally and precisely as possible):
Upload a Component Version with ocm add cv or via Library to the Remote Repository with the helm plugin. Then, do ocm get cv -oyaml and observe the localBlob type instead of being uploaded as oci artifact
Anything else we need to know:
This needs to be adjusted and pull through the environment. If media type is set, use .(MediaTypeAware) and use the media type to pass in to the Location in the Helm input method. Once it's done, the Blob upload needs to apply it correctly so we have a helm type. The right MediaType can be fetched from the blob then.
Environment:
What happened:
This is a missing feature on the blob and the Location type in the Plugin.
What you expected to happen:
Right now, if upload with helm is done, it's an octet-stream because it's not setting the MediaType on the blob during upload.
How to reproduce it (as minimally and precisely as possible):
Upload a Component Version with
ocm add cvor via Library to the Remote Repository with thehelmplugin. Then, doocm get cv -oyamland observe thelocalBlobtype instead of being uploaded as oci artifactAnything else we need to know:
This needs to be adjusted and pull through the environment. If media type is set, use .(MediaTypeAware) and use the media type to pass in to the Location in the Helm input method. Once it's done, the Blob upload needs to apply it correctly so we have a helm type. The right MediaType can be fetched from the blob then.
Environment: