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

kustomize failed to build the manifest #3

Closed
morvencao opened this issue Apr 11, 2019 · 5 comments
Closed

kustomize failed to build the manifest #3

morvencao opened this issue Apr 11, 2019 · 5 comments
Assignees

Comments

@morvencao
Copy link
Contributor

morvencao commented Apr 11, 2019

After I fix the depend inssue: https://github.com/gyliu513/cluster-api-provider-ibmcloud/issues/1 with patch: https://github.com/gyliu513/cluster-api-provider-ibmcloud/pull/2, I found another issue about the kustomize build:

kustomize build config/default/ > provider-components.yaml
Error: rawResources failed to read Resources: Load from path ../rbac/rbac_role.yaml failed: security; file '../rbac/rbac_role.yaml' is not in or below '/root/gocode/src/sigs.k8s.io/cluster-api-provider-ibmcloud/config/default'

Makefile:33: recipe for target 'manifests' failed
make: *** [manifests] Error 1

/cc @gyliu513

@morvencao morvencao self-assigned this Apr 11, 2019
@gyliu513
Copy link
Contributor

@xunpan is it caused by kustomize version?

@xunpan
Copy link
Contributor

xunpan commented Apr 11, 2019

Yes. It is kustomize version issue. I remember there is a bug in cluster api to compatible with new kustomize.

My old test environment use 1.0.11. It should work.
@morvencao you can have a try

@morvencao
Copy link
Contributor Author

@xunpan Thanks, let me give it a try.

@jichenjc
Copy link
Contributor

@morvencao FYI
kubernetes-sigs/cluster-api-provider-openstack#301

@morvencao
Copy link
Contributor Author

Confirmed this is kustomize version issue.

Downgrading the kustomize version from 2.0.3 to 1.0.11 fixed this issue.

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

4 participants