jtblin / kube2iam

kube2iam provides different AWS IAM roles for pods running on Kubernetes
BSD 3-Clause "New" or "Revised" License
1.98k stars 319 forks source link

Unable to build due to renamed repo #258

Closed uthark closed 4 years ago

uthark commented 4 years ago

Hi!

I was trying to build the repo but it fails:

make
go get -v -u github.com/Masterminds/glide
go: github.com/Masterminds/glide upgrade => v0.13.3
go: finding module for package github.com/codegangsta/cli
go: finding module for package github.com/Masterminds/vcs
go: finding module for package github.com/mitchellh/go-homedir
go: finding module for package gopkg.in/yaml.v2
go: finding module for package github.com/Masterminds/semver
go: found github.com/codegangsta/cli in github.com/codegangsta/cli v1.22.2
go: found github.com/Masterminds/semver in github.com/Masterminds/semver v1.5.0
go: found github.com/Masterminds/vcs in github.com/Masterminds/vcs v1.13.1
go: found github.com/mitchellh/go-homedir in github.com/mitchellh/go-homedir v1.1.0
go: found gopkg.in/yaml.v2 in gopkg.in/yaml.v2 v2.2.8
go: github.com/Masterminds/glide imports
    github.com/codegangsta/cli: github.com/codegangsta/cli@v1.22.2: parsing go.mod:
    module declares its path as: github.com/urfave/cli
            but was required as: github.com/codegangsta/cli

What would be the proposed fix?

uthark commented 4 years ago

It turned out this is because I use go modules. Disabling go modules fixed the issue.