Skip to content

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

@shoeffner

Description

@shoeffner

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions