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.
~
$HOME
1 parent b7d773b commit 92b6beaCopy full SHA for 92b6bea
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