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

make install, can't find resources #81

Open
washcycle opened this issue Feb 8, 2023 · 3 comments
Open

make install, can't find resources #81

washcycle opened this issue Feb 8, 2023 · 3 comments
Labels
help wanted Extra attention is needed

Comments

@washcycle
Copy link

*OS Ubuntu
go version go1.20 linux/amd64
k8s 1.24.9
kustomize v5.0.0

Steps

clone project (clean go and kustomize installs) and run the make install step.

Error

/home/foobar/go/bin/controller-gen "crd:trivialVersions=true,preserveUnknownFields=false" rbac:roleName=manager-role webhook paths="./..." output:crd:artifacts:config=config/crd/bases
F0208 15:13:48.876445   22986 packages.go:59] Failed loading boilerplate: open k8s.io/kubernetes/hack/boilerplate/boilerplate.go.txt: no such file or directory

Expected

I expected the CRDs to install on the kubernetes cluster.

@washcycle washcycle changed the title install crd, can't find resources make install, can't find resources Feb 8, 2023
@washcycle
Copy link
Author

I moved past that error by moving the hack folder files to a new directory structure

k8s.io/kubernetes/hack/boilerplate

new error says

/home/foobar/go/bin/controller-gen "crd:trivialVersions=true,preserveUnknownFields=false" rbac:roleName=manager-role webhook paths="./..." output:crd:artifacts:config=config/crd/bases
F0208 15:51:36.863998    4023 packages.go:99] no valid types were specified

@chrislusf
Copy link
Collaborator

Need some help here.

@chrislusf chrislusf added the help wanted Extra attention is needed label Feb 9, 2023
@chrislusf
Copy link
Collaborator

@Programmeris Do you know how to fix this?

Seems make manifests step is generating the something weird.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants