Skip to content

Commit 77b93f1

Browse files
Merge pull request #192 from kondapally1989/master
fix for Unauthorized error when loading certs through kubeconfig
2 parents 85a0258 + 1dc9d6e commit 77b93f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

util/src/main/java/io/kubernetes/client/util/credentials/KubeconfigAuthentication.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ public KubeconfigAuthentication(final KubeConfig config) throws IOException {
3636
@Override
3737
public void provide(ApiClient client) {
3838
if (clientCert != null && clientKey != null) {
39-
new ClientCertificateAuthentication(clientCert, clientKey);
39+
new ClientCertificateAuthentication(clientCert, clientKey).provide(client);
4040
}
4141

4242
if (username != null && password != null) {

0 commit comments

Comments
 (0)