added docker and kubenetes yaml file
[ealt-edge.git] / example-apps / ROBO / backup_BE / src / main / java / org / edgegallery / example_app / backupApplication.java
index 6a83a72..33b79aa 100644 (file)
@@ -24,8 +24,9 @@ public class backupApplication {
     @Bean
     public static void apiclient() throws IOException {
         // file path to your KubeConfig
-        String homePath = System.getenv("HOME");
-        String kubeConfigPath = homePath + "/.kube/config";
+        //String homePath = System.getenv("HOME");
+        //String kubeConfigPath = homePath + "/.kube/config";
+        String kubeConfigPath = System.getenv("KUBE_CONFIG");
 
         // loading the out-of-cluster config, a kubeconfig from file-system
         ApiClient client =