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

Download of helm binary fails: Anonymous caller does not have storage.objects.get access to GCS object #176

Open
shoeffner opened this issue Oct 1, 2024 · 0 comments

Comments

@shoeffner
Copy link

Describe the Bug

Helm can no longer be installed.

(/Stage[main]/Helm::Binary/Archive[helm]/ensure) change from 'absent' to 'present' failed: Execution of '/usr/bin/curl https://kubernetes-helm.storage.googleapis.com/helm-v2.7.2-linux-amd64.tar.gz -o /tmp/helm-v2.7.2-linux-amd64.tar.gz_20241001-3428561-u2u751 -fsSLg --max-redirs 5' returned 22: curl: (22) The requested URL returned error: 403

Expected Behavior

include 'helm' should install helm

Steps to Reproduce

Steps to reproduce the behavior:

  1. Add mod 'puppetlabs-helm', '4.0.0' to your Puppetfile
  2. Add include 'helm' to your manifest
  3. Run puppet agent --test.

Alternatively, to see the actual error, run:

$ curl --fail-with-body -i https://kubernetes-helm.storage.googleapis.com/helm-v2.7.2-linux-amd64.tar.gz
curl: (22) The requested URL returned error: 403
<?xml version='1.0' encoding='UTF-8'?><Error><Code>AccessDenied</Code><Message>Access denied.</Message><Details>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).</Details></Error>

Environment

  • Version 4.0.0
  • Platform Ubuntu 22.04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants