camel-k icon indicating copy to clipboard operation
camel-k copied to clipboard

Kustomize installation does not work

Open bouskaJ opened this issue 2 years ago • 3 comments

The kustomize installation described on https://camel.apache.org/camel-k/1.12.x/installation/advanced/kustomize.html does not work

➜  install git:(main) ✗ kubectl apply -k setup-cluster
error: accumulating resources: accumulation err='accumulating resources from '../config/rbac/user-cluster-role.yaml': security; file '/home/jbouska/git/camel-k/install/config/rbac/user-cluster-role.yaml' is not in or below '/home/jbouska/git/camel-k/install/setup-cluster'': must build at directory: '/home/jbouska/git/camel-k/install/config/rbac/user-cluster-role.yaml': file is not directory

➜  install git:(main) ✗ kustomize build setup-cluster
Error: accumulating resources: accumulation err='accumulating resources from '../config/rbac/user-cluster-role.yaml': security; file '/home/jbouska/git/camel-k/install/config/rbac/user-cluster-role.yaml' is not in or below '/home/jbouska/git/camel-k/install/setup-cluster'': got file 'user-cluster-role.yaml', but '/home/jbouska/git/camel-k/install/config/rbac/user-cluster-role.yaml' must be a directory to be a root

bouskaJ avatar Jul 04 '23 10:07 bouskaJ

Similar as #4135

squakez avatar Jul 04 '23 13:07 squakez

cc @gansheer

squakez avatar Oct 10 '23 13:10 squakez

I will work on this, thanks @squakez !

gansheer avatar Oct 10 '23 13:10 gansheer