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

Support chart replication to AWS ECR #12794

Closed
matt-demers opened this issue Aug 17, 2020 · 3 comments
Closed

Support chart replication to AWS ECR #12794

matt-demers opened this issue Aug 17, 2020 · 3 comments

Comments

@matt-demers
Copy link

Amazon released support for alternate media types in ECR manifests. They can support storing helm charts as OCI images.
See: aws/containers-roadmap#308 (comment)

I would like to be create replication rules for syncing charts between Harbor and ECR

Currently if I try to create a replication rule to push charts from Harbor to ECR, it gives the error

failed to create client for destination registry: the adapter doesn't implement the "ChartRegistry" interface
@ywk253100
Copy link
Contributor

image

When you creating the replication rule, set the Resource filter as artifact and try again.
The chart(chartmuseum) only filters the charts stored in chart museum which aren't in OCI format

@matt-demers
Copy link
Author

Thanks, that did work

@VikramPunnam
Copy link

I tried with the artifact in the resource block but still got the same error. It only tries to replicate the Images, not the helm charts. Below are logs of the replication when resource as charts.

2022-04-27T05:22:45Z [INFO] [/controller/replication/transfer/chart/transfer.go:92]: client for source registry [type: harbor, URL: http://harbor-core:80, insecure: true] created
2022-04-27T05:22:45Z [ERROR] [/controller/replication/transfer/chart/transfer.go:98]: failed to create client for destination registry: the adapter doesn't implement the "ChartRegistry" interface

Can someone help with this, please?

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