Always add client certificates if present. (#188)
This commit is contained in:
@@ -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)))
|
||||
|
||||
Reference in New Issue
Block a user