Installing kubesec on mac 01 M1

Viewed 22

hello i am getting this error when installing kubesec by shyiko followed this [guide][1] I am installing the kubesec binary in my m1 and it fails . please assist

brew install shyiko/kubesec/kubesec

=> Installing kubesec from shyiko/kubesec
==> Installing dependencies for shyiko/kubesec/kubesec: go
==> Installing shyiko/kubesec/kubesec dependency: go
==> Pouring go--1.19.1.arm64_big_sur.bottle.tar.gz
  /opt/homebrew/Cellar/go/1.19.1: 12,436 files, 629.0MB
==> Installing shyiko/kubesec/kubesec
==> make fetch
Last 15 lines from /Users/user/Library/Logs/Homebrew/kubesec/01.make:

fatal: not a git repository (or any of the parent directories): .git
go get \
        github.com/mitchellh/gox \
        github.com/Masterminds/glide \
        github.com/modocache/gover \
        github.com/aktau/github-release && \
        glide install
go: go.mod file not found in current directory or any parent directory.
        'go get' is no longer supported outside a module.
        To build and install a command, use 'go install' with a version,
        like 'go install example.com/cmd@latest'
        For more information, see https://golang.org/doc/go-get-install-deprecation
        or run 'go help get' or 'go help install'.
make: *** [fetch] Error 1

Do not report this issue to Homebrew/brew or Homebrew/core!


  [1]: https://github.com/shyiko/kubesec
0 Answers
Related