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

Doc and/or command should be changed - kamel install #106

Closed
cmoulliard opened this issue Sep 20, 2018 · 2 comments · Fixed by #193
Closed

Doc and/or command should be changed - kamel install #106

cmoulliard opened this issue Sep 20, 2018 · 2 comments · Fixed by #193

Comments

@cmoulliard
Copy link

When we execute the command kamel install to deploy the CustomResourceDefintion, then we get this error

./kamel install
Error: failed to get resource client: failed to get resource type: failed to get the resource REST mapping for GroupVersionKind(camel.apache.org/v1alpha1, Kind=IntegrationContext): no matches for kind "IntegrationContext" in version "camel.apache.org/v1alpha1"

This error is gone when running this command ./kamel install --cluster-setup

I suggest to update the doc and make the error reported more user's friendly

@nicolaferraro
Copy link
Member

Yes, it was supposed to give a user friendly message and ask the user to login as admin.

Technically kamel install should do kamel install --cluster-setup plus other things, so I expect you did a oc login -u system:admin between the two invocations. Isn't it?

@cmoulliard
Copy link
Author

Yes. I did a oc login -u admin -p admin which is cluster-admin's role before

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

Successfully merging a pull request may close this issue.

2 participants