Merge pull request #118156 from HirazawaUi/update-webhook-test-to-go-1.21

Update webhook test code to golang 1.21
This commit is contained in:
Kubernetes Prow Robot 2023-05-21 09:52:19 -07:00 committed by GitHub
commit 1dba84be8a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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)"