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

OCI registry support in helm_import_repository #125

Open
marksmithson opened this issue Jan 6, 2025 · 0 comments
Open

OCI registry support in helm_import_repository #125

marksmithson opened this issue Jan 6, 2025 · 0 comments

Comments

@marksmithson
Copy link

helm_import_repository does not support OCI registries.

both of the following result in exceptions.

helm_import_repository(
        name = "redis_helm",
        chart_name = "redis-cluster",
        repository = "oci://registry-1.docker.io/bitnamicharts/redis-cluster",
        sha256 = "9e9aae48b962c640c598630ef575a44ab7bb35015e1792f8544fb34c3b30bc57",
        version = "11.2.1",
 )

causes:
java.io.IOException: Bad URL: oci://registry-1.docker.io/bitnamicharts/redis-cluster/index.yaml

 helm_import_repository(
     name = "redis_helm",
     chart_name = "redis-cluster",
     repository = "not-requried-when-url-specified",
     sha256 = "9e9aae48b962c640c598630ef575a44ab7bb35015e1792f8544fb34c3b30bc57",
     url = "oci://registry-1.docker.io/bitnamicharts/redis-cluster:11.2.1",
 )

causes:
java.io.IOException: Bad URL: oci://registry-1.docker.io/bitnamicharts/redis-cluster:11.2.1

Is there another way to import charts from OCI registries?

Happy to help with a patch for this is needed - some pointers on where to start would be appreciated.

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

1 participant