Always add client certificates if present. (#188)

This commit is contained in:
Brendan Burns
2018-07-02 07:22:59 -07:00
committed by GitHub
parent bb11e5f5ce
commit 3f69820739

View File

@@ -136,7 +136,7 @@ namespace k8s
};
}
// othwerwise set handler for clinet cert based auth
else if ((!string.IsNullOrWhiteSpace(config.ClientCertificateData) ||
if ((!string.IsNullOrWhiteSpace(config.ClientCertificateData) ||
!string.IsNullOrWhiteSpace(config.ClientCertificateFilePath)) &&
(!string.IsNullOrWhiteSpace(config.ClientCertificateKeyData) ||
!string.IsNullOrWhiteSpace(config.ClientKeyFilePath)))