You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
kamel CLI command are returning this kind of error Error: integrations.camel.apache.org is forbidden: User "system:serviceaccount:che:che-workspace" cannot create resource "integrations" in API group "camel.apache.org" in the namespace "che"
although the current user is minikube (and which is admin so have all rights):
sh-5.0$ kubectl config view --template='{{ range .contexts }}{{ if eq .name "'$(kubectl config current-context)'" }}Current user: {{ .context.user }}{{ end }}{{ end }}'
Current user: minikube
The text was updated successfully, but these errors were encountered:
And when I set it to $HOME/.kube/config , it works!
I think it would be nice to follow the same behavior than kubectl to pick the user.
If too complicated, maybe an intermediate step can be to provide more guidance to users in error message to explain from where the user has been resolved? (would it be really easier to implement?)
Currently the logic search for some files that are only present only in containers, in order to determine which credentials to pick. We should reverse the logic prefer KUBECONFIG or ~/.kube/config to the container service account.
kamel CLI command are returning this kind of error
Error: integrations.camel.apache.org is forbidden: User "system:serviceaccount:che:che-workspace" cannot create resource "integrations" in API group "camel.apache.org" in the namespace "che"
although the current user is minikube (and which is admin so have all rights):
The text was updated successfully, but these errors were encountered: