Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Will this plugin work with OCI-compatible registry? #76

Open
Vad1mo opened this issue Dec 15, 2020 · 3 comments
Open

Will this plugin work with OCI-compatible registry? #76

Vad1mo opened this issue Dec 15, 2020 · 3 comments

Comments

@Vad1mo
Copy link

Vad1mo commented Dec 15, 2020

we are using Harbor and Harbor has two distinct Helm Chart options :

  1. ChartMuseum
  2. OCI Part, supported by Helm3

I am asking, as I see this error here: It seems ChartMuseum is used but I would like to use OCI compatible
Error creating/publishing helm chart: Unexpected status code when executing POST request to chart repo https://8gears.container-registry.com/chartrepo/library/api/charts: 404

@pvorb
Copy link
Member

pvorb commented Dec 15, 2020

I don't know that much about OCI-compatible Helm registries. Probably helm-maven-plugin is not compatible to them, yet.

You could try to configure <chartPublishMethod>PUT</chartPublishMethod>, but that's a wild guess. I couldn't find out how requests to OCI-compatible registries must look like.

@Vad1mo
Copy link
Author

Vad1mo commented Dec 20, 2020

I did some debugging and ran the traffic via proxy

I executed the first two requests with helm-push helm push *.tgz examples

The last two with this plugin.

image

It looks like we transmit it differently, Not sure if there are multiple options or if helm push does things differently but it works

@d-huynh
Copy link

d-huynh commented Mar 2, 2021

I also ran into this problem with Azure ACR.
I read the code and can confirm it's not compatible.

It's not hard to implement, but the plugin has to trigger helm CLI instead of HTTP request. Besides, OCI support is experimental at the moment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants