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 9c976bf + 2102e1d commit 0dd2614Copy full SHA for 0dd2614
util/src/main/java/io/kubernetes/client/util/Config.java
@@ -54,7 +54,7 @@ public static ApiClient fromCluster() throws IOException {
54
ApiClient result = new ApiClient();
55
result.setBasePath("https://" + host + ":" + port);
56
result.setSslCaCert(caCert);
57
- result.setAccessToken(builder.toString());
+ result.setApiKey("Bearer " + builder.toString());
58
59
return result;
60
}
0 commit comments