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

Unable to pull the chart from oci registry #121

Open
bharathv195 opened this issue Oct 17, 2024 · 5 comments
Open

Unable to pull the chart from oci registry #121

bharathv195 opened this issue Oct 17, 2024 · 5 comments

Comments

@bharathv195
Copy link

bharathv195 commented Oct 17, 2024

Unable to pull the helm chart while trying to pull from the oci registry which has the repo link like "oci://ghcr.io/kube-logging/helm-charts/logging-operator" . And that helm chart does not have any repo name. we are getting the below error.

"ERROR","msg":"could not find protocol handler for: "}

@ChristofferNissen
Copy link
Owner

Can you share your config.yaml file?

@bharathv195
Copy link
Author

k8s_version: 1.27.9
import:
  enabled: true
charts:
- name: ${HELM_CHART}
  version: ${REPO_VERSION}
  valuesFilePath: /workspace/in/values/prometheus/values.yaml # (Optional)
  repo:
    name: ${REPO}
    url: ${THIRDPARTY_URL}
registries:
- name: registry
  url: ${REGISTRY_URL}
  insecure: false
  plainHTTP: false

Hi Nissen, this is the config file we are using

@ChristofferNissen
Copy link
Owner

Does your repo url also contain the chart name? Can you try without?

If that works, I'll add a bug fix to automatically remove the chart name from the url

@bharathv195
Copy link
Author

I have tried with the both options like repo url containing chart name and without chart name. Both didn't work

@bharathv195
Copy link
Author

and some images are not pushed to private registries while chart is getting pushed.
EX: https://artifacthub.io/packages/helm/stakater/reloader/1.0.72?modal=install If we are pushing this Helm Chart, chart is getting pushed but not the docker image. Can you also please look into this?

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

2 participants