You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by GitBox <gi...@apache.org> on 2019/11/07 08:09:21 UTC

[GitHub] [camel-k] apupier opened a new issue #1048: When kamel is launched from inside a container, it is using the serviceaccount of this container instead of the user configured in kubeconfig

apupier opened a new issue #1048: When kamel is launched from inside a container, it is using the serviceaccount of this container instead of the user configured in kubeconfig
URL: https://github.com/apache/camel-k/issues/1048
 
 
   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
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services