Code Review
/
ealt-edge.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
added sshpass from conatiner to host
[ealt-edge.git]
/
example-apps
/
ROBO
/
backup_BE
/
src
/
main
/
java
/
org
/
edgegallery
/
example_app
/
backupApplication.java
diff --git
a/example-apps/ROBO/backup_BE/src/main/java/org/edgegallery/example_app/backupApplication.java
b/example-apps/ROBO/backup_BE/src/main/java/org/edgegallery/example_app/backupApplication.java
index
6a83a72
..
33b79aa
100644
(file)
--- a/
example-apps/ROBO/backup_BE/src/main/java/org/edgegallery/example_app/backupApplication.java
+++ b/
example-apps/ROBO/backup_BE/src/main/java/org/edgegallery/example_app/backupApplication.java
@@
-24,8
+24,9
@@
public class backupApplication {
@Bean
public static void apiclient() throws IOException {
// file path to your KubeConfig
@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 =
// loading the out-of-cluster config, a kubeconfig from file-system
ApiClient client =