You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ma...@apache.org on 2023/04/01 13:03:07 UTC

[camel-karavan] branch main updated: Fixed KUBECONFIG path issue (#702)

This is an automated email from the ASF dual-hosted git repository.

marat pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-karavan.git


The following commit(s) were added to refs/heads/main by this push:
     new fbe25643 Fixed KUBECONFIG path issue (#702)
fbe25643 is described below

commit fbe256432d44dfb54a6c15bf2e5fe0869fa388fd
Author: Mrinal Sharma <mr...@users.noreply.github.com>
AuthorDate: Sat Apr 1 09:03:02 2023 -0400

    Fixed KUBECONFIG path issue (#702)
    
    * Fixed KUBECONFIG path issue
    
    * Removed line to set KUBECONFIG environment variable
---
 .../main/java/org/apache/camel/karavan/service/KubernetesService.java    | 1 -
 1 file changed, 1 deletion(-)

diff --git a/karavan-app/src/main/java/org/apache/camel/karavan/service/KubernetesService.java b/karavan-app/src/main/java/org/apache/camel/karavan/service/KubernetesService.java
index 99ee99d7..f2358681 100644
--- a/karavan-app/src/main/java/org/apache/camel/karavan/service/KubernetesService.java
+++ b/karavan-app/src/main/java/org/apache/camel/karavan/service/KubernetesService.java
@@ -78,7 +78,6 @@ public class KubernetesService {
 
     @Produces
     public KubernetesClient kubernetesClient() {
-        System.setProperty("kubeconfig", "/Users/mgubaidu/projects/oss/camel-karavan/karavan-app/karavan-kubeconfig.yaml");
         return new DefaultKubernetesClient();
     }