update webhook test to go 1.21

Kubernetes-commit: b6364dddfe65d0aa1f34e8fb36a8111212efd47c
This commit is contained in:
HirazawaUi 2023-05-21 21:32:45 +08:00 committed by Kubernetes Publisher
parent 8f1ecdbf03
commit 43131be536
1 changed files with 1 additions and 1 deletions

View File

@ -47,7 +47,7 @@ import (
)
const (
errBadCertificate = "Get .*: remote error: tls: bad certificate"
errBadCertificate = "Get .*: remote error: tls: (bad certificate|unknown certificate authority)"
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: .*(unknown authority|not standards compliant|not trusted)"