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

File does not exist after run "make utils-crds-install" #41

Open
xuezhaojun opened this issue May 27, 2021 · 1 comment
Open

File does not exist after run "make utils-crds-install" #41

xuezhaojun opened this issue May 27, 2021 · 1 comment

Comments

@xuezhaojun
Copy link
Contributor

Hi guys, I'm trying to install klusterlet-addon-controller on my hub cluster and after I run make utils-crds-install and I got:

kubectl apply -f deploy/dev-crds/agent.open-cluster-management.io_klusterletaddonconfigs_crd.yaml
go: downloading k8s.io/client-go v0.20.0
go: downloading github.com/open-cluster-management/api v0.0.0-20210409125704-06f2aec1a73f
go: downloading k8s.io/apimachinery v0.20.0
go: downloading k8s.io/api v0.20.0
go: downloading github.com/Masterminds/semver v1.5.0
go: downloading github.com/gogo/protobuf v1.3.2
go: downloading github.com/open-cluster-management/library-go v0.0.0-20200828173847-299c21e6c3fc
go: downloading github.com/openshift/api v3.9.1-0.20190924102528-32369d4db2ad+incompatible
go: downloading github.com/Masterminds/sprig v2.22.0+incompatible
go: downloading k8s.io/apiextensions-apiserver v0.20.0
go: downloading github.com/Masterminds/goutils v1.1.0
go: downloading github.com/imdario/mergo v0.3.9
error: the path "deploy/dev-crds/agent.open-cluster-management.io_klusterletaddonconfigs_crd.yaml" does not exist
make: *** [utils-crds-install] 错误 1

I checked the main branch and found no file named agent.open-cluster-management.io_klusterletaddonconfigs_crd.yaml in deploy/dev-crds/.

Am I doing anything wrong? Hope for you help plz

@xuezhaojun
Copy link
Contributor Author

xuezhaojun commented May 27, 2021

I temporarily fixed this by change:
https://github.com/open-cluster-management/klusterlet-addon-controller/blob/893ce866659b78f8cf6caafa233ad2958a075cd8/Makefile#L123
To:

kubectl apply -f deploy/agent.open-cluster-management.io_klusterletaddonconfigs_crd.yaml

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