camel-k
camel-k copied to clipboard
Kustomize installation does not work
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
Similar as #4135
cc @gansheer
I will work on this, thanks @squakez !