diff --git a/util/src/main/java/io/kubernetes/client/util/credentials/KubeconfigAuthentication.java b/util/src/main/java/io/kubernetes/client/util/credentials/KubeconfigAuthentication.java index d132b3760d..317c33139c 100644 --- a/util/src/main/java/io/kubernetes/client/util/credentials/KubeconfigAuthentication.java +++ b/util/src/main/java/io/kubernetes/client/util/credentials/KubeconfigAuthentication.java @@ -36,7 +36,7 @@ public KubeconfigAuthentication(final KubeConfig config) throws IOException { @Override public void provide(ApiClient client) { if (clientCert != null && clientKey != null) { - new ClientCertificateAuthentication(clientCert, clientKey); + new ClientCertificateAuthentication(clientCert, clientKey).provide(client); } if (username != null && password != null) {