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

Error 1 when using "make deploy" #37

Open
rpgty opened this issue May 28, 2024 · 0 comments
Open

Error 1 when using "make deploy" #37

rpgty opened this issue May 28, 2024 · 0 comments

Comments

@rpgty
Copy link

rpgty commented May 28, 2024

Is this a BUG REPORT or FEATURE REQUEST?:

Bug report

What happened:

when using make deploy to install, encounter an issue of Error 1:

[ec2-user@ip-10-50-0-11 kube-forensics]$ make deploy
/home/ec2-user/go/bin/controller-gen "crd:trivialVersions=true" rbac:roleName=manager-role webhook paths="./..." output:crd:artifacts:config=config/crd/bases
kubectl apply -f config/crd/bases
error: resource mapping not found for name: "podcheckpoints.forensics.keikoproj.io" namespace: "" from "config/crd/bases/forensics.keikoproj.io_podcheckpoints.yaml": no matches for kind "CustomResourceDefinition" in version "apiextensions.k8s.io/v1beta1"
ensure CRDs are installed first
make: *** [Makefile:40: deploy] Error 1

What you expected to happen:

the CustomResourceDefinition version in the repository seems incompatible to newer version

How to reproduce it (as minimally and precisely as possible):

$ cd kube-forensics
$ make deploy

Anything else we need to know?:

Environment:

  • kube-forensics version

0.2.0

  • Kubernetes version :

kubectl version
Client Version: v1.30.0
Kustomize Version: v5.0.4-0.20230601165947-6ce0bf390ce3
Server Version: v1.30.0

$ kubectl version -o yaml

clientVersion:
buildDate: "2024-04-17T17:36:05Z"
compiler: gc
gitCommit: 7c48c2bd72b9bf5c44d21d7338cc7bea77d0ad2a
gitTreeState: clean
gitVersion: v1.30.0
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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant