We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7314b39 + 92b6bea commit f6c783dCopy full SHA for f6c783d
examples/src/main/java/io/kubernetes/client/examples/KubeConfigFileClientExample.java
@@ -35,7 +35,8 @@ public class KubeConfigFileClientExample {
35
public static void main(String[] args) throws IOException, ApiException {
36
37
// file path to your KubeConfig
38
- String kubeConfigPath = "~/.kube/config";
+
39
+ String kubeConfigPath = System.getenv("HOME") + "/.kube/config";
40
41
// loading the out-of-cluster config, a kubeconfig from file-system
42
ApiClient client =
0 commit comments