Tolerate additional error messages in TLS unit tests

Kubernetes-commit: cff4eeef9f1880b42b8c3d3b8f3a27a89540dbe0
This commit is contained in:
Jordan Liggitt 2022-03-29 08:57:31 -04:00 committed by Kubernetes Publisher
parent ee1ac0ffde
commit 5f8feb467c
1 changed files with 1 additions and 1 deletions

View File

@ -50,7 +50,7 @@ const (
errBadCertificate = "Get .*: remote error: tls: bad certificate"
errNoConfiguration = "invalid configuration: no configuration has been provided"
errMissingCertPath = "invalid configuration: unable to read %s %s for %s due to open %s: .*"
errSignedByUnknownCA = "Get .*: x509: certificate signed by unknown authority"
errSignedByUnknownCA = "Get .*: x509: .*(unknown authority|not standards compliant|not trusted)"
)
var (