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/22 12:13:36 UTC

[GitHub] [camel-k] bouskaJ opened a new pull request #1075: Enhance kubeconfig loading

bouskaJ opened a new pull request #1075: Enhance kubeconfig loading
URL: https://github.com/apache/camel-k/pull/1075
 
 
   Enable using `HOME` environment variable to load kubernetes config.
   
   Previous code was causing issues when running client in docker container wit random userId.
   
   See
   ```
   panic: user: unknown userid 1102770000
   
   goroutine 1 [running]:
   github.com/apache/camel-k/pkg/client.initialize(0x0, 0x0)
   	/home/jenkins/workspace/fuse-camel-k-install/pkg/client/client.go:147 +0x123
   github.com/apache/camel-k/pkg/client.NewOutOfClusterClient(0x0, 0x0, 0x1ad7100, 0x15, 0xc00012c58b, 0x3)
   	/home/jenkins/workspace/fuse-camel-k-install/pkg/client/client.go:74 +0x35
   github.com/apache/camel-k/e2e.newTestClient(...)
   	/home/jenkins/workspace/fuse-camel-k-install/e2e/test_support.go:82
   github.com/apache/camel-k/e2e.init.1()
   	/home/jenkins/workspace/fuse-camel-k-install/e2e/test_support.go:72 +0xfd
   FAIL	github.com/apache/camel-k/e2e	0.268s
   FAIL
   ```

----------------------------------------------------------------
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