Running the 'make' on an Amazon Linux 2 system. Getting the following error -
which: no controller-gen in (/home/ec2-user/.local/bin:/home/ec2-user/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin)
go get sigs.k8s.io/controller-tools/cmd/controller-gen@v0.2.0-beta.2
/home/ec2-user/go/bin/controller-gen object:headerFile=./hack/boilerplate.go.txt paths=./api/...
make: /home/ec2-user/go/bin/controller-gen: No such file or directory
make: *** [Makefile:59: generate] Error 127
What you expected to happen:
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know?:
Environment:
kube-forensics version
Kubernetes version :
Client Version: v1.30.1
Kustomize Version: v5.0.4-0.20230601165947-6ce0bf390ce3
Server Version: v1.30.0
Is this a BUG REPORT or FEATURE REQUEST?:
What happened:
Running the 'make' on an Amazon Linux 2 system. Getting the following error -
which: no controller-gen in (/home/ec2-user/.local/bin:/home/ec2-user/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin) go get sigs.k8s.io/controller-tools/cmd/controller-gen@v0.2.0-beta.2 /home/ec2-user/go/bin/controller-gen object:headerFile=./hack/boilerplate.go.txt paths=./api/... make: /home/ec2-user/go/bin/controller-gen: No such file or directory make: *** [Makefile:59: generate] Error 127
What you expected to happen:
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know?:
Environment:
Client Version: v1.30.1 Kustomize Version: v5.0.4-0.20230601165947-6ce0bf390ce3 Server Version: v1.30.0
$ kubectl version -o yaml
clientVersion: buildDate: "2024-05-14T10:50:53Z" compiler: gc gitCommit: 6911225c3f747e1cd9d109c305436d08b668f086 gitTreeState: clean gitVersion: v1.30.1 goVersion: go1.22.2 major: "1" minor: "30" platform: linux/amd64 kustomizeVersion: v5.0.4-0.20230601165947-6ce0bf390ce3 serverVersion: buildDate: "2024-04-17T17:27:03Z" compiler: gc gitCommit: 7c48c2bd72b9bf5c44d21d7338cc7bea77d0ad2a gitTreeState: clean gitVersion: v1.30.0 goVersion: go1.22.2 major: "1" minor: "30" platform: linux/amd64
Other debugging information (if applicable):