Closed jurim76 closed 1 month ago
Hi @jurim76
You need to use the following command to pull the Helm chart stored in OCI format
helm pull oci://ghcr.io/dragonflydb/dragonfly-operator/helm/dragonfly-operator --version v1.1.7
@tmsdce that works for a helm pull
, but does not work for Chart dependencies. Given this Chart.yaml
:
---
apiVersion: v2
name: example-chart
version: 0.0.1
description: Example chart with Dragonfly Operator chart as a dependencies
home: https://github.com
appVersion: "1.0.0"
dependencies:
- name: dragonfly-operator
version: "v1.1.7"
repository: oci://ghcr.io/dragonflydb/dragonfly-operator/helm/dragonfly-operator
condition: dragonfly-operator.enabled
The follow is raised from a helm dependency build
:
❯ helm dependency build
Hang tight while we grab the latest from your chart repositories...
Update Complete. ⎈Happy Helming!⎈
Saving 1 chart
Downloading dragonfly-operator from repo oci://ghcr.io/dragonflydb/dragonfly-operator/helm/dragonfly-operator
Save error occurred: could not download oci://ghcr.io/dragonflydb/dragonfly-operator/helm/dragonfly-operator/dragonfly-operator: failed to authorize: failed to fetch anonymous token: unexpected status from GET request to https://ghcr.io/token?scope=repository%3Adragonflydb%2Fdragonfly-operator%2Fhelm%2Fdragonfly-operator%2Fdragonfly-operator%3Apull&service=ghcr.io: 403 Forbidden
Error: could not download oci://ghcr.io/dragonflydb/dragonfly-operator/helm/dragonfly-operator/dragonfly-operator: failed to authorize: failed to fetch anonymous token: unexpected status from GET request to https://ghcr.io/token?scope=repository%3Adragonflydb%2Fdragonfly-operator%2Fhelm%2Fdragonfly-operator%2Fdragonfly-operator%3Apull&service=ghcr.io: 403 Forbidden
@supertylerc I don't think its an issue from our side and looks more like a helm configuration issue.
Looking at the logs, it seems to pull the chart oci://ghcr.io/dragonflydb/dragonfly-operator/helm/dragonfly-operator/dragonfly-operator
but there is an extra dragonfly-operator? maybe remove it from the repository suffix and try? 🤔
Hi @supertylerc
As @Pothulapati suggested, you need to use the repo name when using the chart as a dependency (i.e. removing the extra dragonfly-operator
in the URL). When using helm pull
you need the full path.
Please clarify in documentation installation process via helm chart Current instructions doesn't work for me
What's the reason to use
docker pull
for helm chart?Helm chart installation doesn't work via
helm pull
According to https://github.com/dragonflydb/dragonfly-operator/releases/tag/v1.1.7Docker image URL is different
ghcr.io/dragonflydb/dragonfly-operator/helm/dragonfly-operator:v1.1.7
vsdocker.dragonflydb.io/dragonflydb/operator:v1.1.7
OCI image looks strange
helm:v1.1.7
and doesn't available viahelm pull