|
@@ -9,6 +9,7 @@ import lombok.SneakyThrows;
|
|
|
import org.springframework.boot.context.properties.ConfigurationProperties;
|
|
|
import org.springframework.context.annotation.Bean;
|
|
|
import org.springframework.context.annotation.Configuration;
|
|
|
+import org.springframework.util.ResourceUtils;
|
|
|
|
|
|
import java.io.File;
|
|
|
import java.io.FileReader;
|
|
@@ -50,8 +51,8 @@ public class KubernetesConfiguration {
|
|
|
@SneakyThrows
|
|
|
public ApiClient apiClient() {
|
|
|
|
|
|
-
|
|
|
- File config = new File("/root/.kube/config");
|
|
|
+ File config = new File("E:\\project\\simulation-cloud\\simulation-resource-scheduler\\src\\main\\resources\\kubernetes\\config");
|
|
|
+
|
|
|
|
|
|
|
|
|
|