terraform-provider-helm icon indicating copy to clipboard operation
terraform-provider-helm copied to clipboard

403 Forbidden on public repository.

Open stobias123 opened this issue 1 year ago • 1 comments

Terraform, Provider, Kubernetes and Helm Versions

just trying to run on a public repo, get 403

│ Error: could not download chart: unexpected status from HEAD request to https://registry.dagger.io/v2/dagger-helm/dagger/manifests/0.0.2: 403 Forbidden
Terraform version:v1.4.6
Provider version:latest

Affected Resource(s)

  • helm_release

Terraform Configuration Files

# Copy-paste your Terraform configurations here - for large Terraform configs,
# please use a service like Dropbox and share a link to the ZIP file. For
# security, you can also encrypt the files using our GPG public key.

Debug Output

NOTE: In addition to Terraform debugging, please set HELM_DEBUG=1 to enable debugging info from helm.

Panic Output

Steps to Reproduce

  1. terraform apply

Expected Behavior

just download the chart - I've confirmed I can with regular helm

Actual Behavior

Important Factoids

References

  • GH-1234

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

stobias123 avatar Nov 15 '23 01:11 stobias123

@stobias123 Hello thank you for opening this issue, could you provide us with the exact repo that you're using? It seems like the only way to pull the chart that you've mentioned is from an OCI repo that i found from the dagger repository linked here

It could be that you're using a different repo rather than the OCI repo mentioned in the docs. Let me know if using that works for you!

BBBmau avatar Dec 06 '23 15:12 BBBmau

Without further feedback to proceed, we're closing this ticket to maintain clarity in our issue tracker. This closure is purely procedural; we're still interested in addressing your concerns.

Should this issue persist or if you have additional information to share, please feel free to open a new ticket. Your contributions are valuable to us, and we're keen to assist wherever possible.

iBrandyJackson avatar Mar 18 '24 19:03 iBrandyJackson

In case anyone lands here, the Dagger documentation explains how to install Chart like this:

helm upgrade --install --namespace=dagger --create-namespace \
    dagger oci://registry.dagger.io/dagger-helm

Which translates like this with the Helm provider:

resource "helm_release" "this" {
  name       = "dagger"
  chart      = "dagger-helm"
  version    = "0.1.1"
  repository = "oci://registry.dagger.io"
}

The problem was probably that the repository used was oci://registry.dagger.io/dagger-helm instead of oci://registry.dagger.io.

arthur-leclerc avatar Apr 04 '24 14:04 arthur-leclerc