triggermesh / charts

Charts for TriggerMesh Deployments
Apache License 2.0
3 stars 6 forks source link

looks like "https://storage.googleapis.com/triggermesh-charts" is not a valid chart repository or cannot be reached #212

Open thanos1983 opened 4 weeks ago

thanos1983 commented 4 weeks ago

We just noticed that installing triggermesh through helm is not allowed any more.

Sample of problem:

$ helm repo add triggermesh https://storage.googleapis.com/triggermesh-charts
Error: looks like "https://storage.googleapis.com/triggermesh-charts" is not a valid chart repository or cannot be reached: failed to fetch https://storage.googleapis.com/triggermesh-charts/index.yaml : 403 Forbidden

Is this a permanent problem, can it be fixed?

graknol commented 3 weeks ago

For now I've worked around this issue by hosting the triggermesh and triggermesh-core in a private helm repository; unblocking my FluxCD pipeline.

But this permission issue should obviously be corrected in the Google Storage Account! 🙏

Anonymous caller does not have storage.objects.get access to the Google Cloud Storage object. Permission 'storage.objects.get' denied on resource (or it may not exist).

jgrabenstein commented 3 weeks ago

I forked the repository under my org and created a github action to publish it to githubpages for the repo. I can check with my org if they are alright letting people use our repository, good chance they will be okay with it.

rvillalobosvozy commented 3 weeks ago

Hi all I am having problems related to this issue “httptarget-8f4596294004be91f4a69b333257b7129b388846c-deploz29xc” is waiting to boot: trying and failing to pull image.

I tried to host triggermesh local but when packaging it still relies on the url https://storage.googleapis.com/triggermesh-charts to download the image can you help me

@graknol can you share me the repository or how did you do the private helm.

I would appreciate it

graknol commented 3 weeks ago

Hi all I am having problems related to this issue “httptarget-8f4596294004be91f4a69b333257b7129b388846c-deploz29xc” is waiting to boot: trying and failing to pull image.

I tried to host triggermesh local but when packaging it still relies on the url https://storage.googleapis.com/triggermesh-charts to download the image can you help me

@graknol can you share me the repository or how did you do the private helm.

I would appreciate it

Sure, the steps are:

  1. grab the triggermesh and triggermesh-core charts (just download the repo)
  2. edit the triggermesh/Chart.yaml file and change the URL to the core chart (you need to know on which domain/path you’re going to host it)
  3. Package the core chart with helm package ./triggermesh-core —url «some-storage.com/charts»
  4. Copy the final triggermesh-core.tgz file into triggermesh/charts/ folder (you need to create the folder by hand)
  5. Package the main chart with the same command (but without -core now)
  6. Generate the index with helm repo index ./
  7. Upload all these 3 files to the storage account (or wherever you host it)

I used an Azure Storage Account and enabled anonymous access to the blob container. The URL then simply became the URL to the storage account and container. But you could just as well use a local static web server or a github pages repo (IMO the easy and free alternative).

I’m on my phone, so these commands and instructions are off the top of my head 😅

rvillalobosvozy commented 3 weeks ago

@graknol I managed to perform the process but there is an error when downloading the images “Failed to load logs: container "controller" in pod "triggermesh-controller-646ccb6b77-ddh56" is waiting to start: trying and failing to pull image” I think the problem is bigger than I thought.

I still haven't found a solution because I don't know how to download the image, which I don't know from the source.

any ideas? thanks :face_with_head_bandage:

graknol commented 3 weeks ago

I just found the reason: https://github.com/triggermesh/triggermesh/issues/1544

The company has shut it down, and they've probably closed their GCP account they used for triggermesh.