Skip to content

Commit

Permalink
Merge pull request #192 from kondapally1989/master
Browse files Browse the repository at this point in the history
fix for Unauthorized error when loading certs through kubeconfig
  • Loading branch information
brendandburns authored Feb 21, 2018
2 parents 85a0258 + 1dc9d6e commit 77b93f1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 77b93f1

Please sign in to comment.