mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-09 12:07:47 +00:00
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:
commit
1dba84be8a
@ -47,7 +47,7 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
const (
|
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"
|
errNoConfiguration = "invalid configuration: no configuration has been provided"
|
||||||
errMissingCertPath = "invalid configuration: unable to read %s %s for %s due to open %s: .*"
|
errMissingCertPath = "invalid configuration: unable to read %s %s for %s due to open %s: .*"
|
||||||
errSignedByUnknownCA = "Get .*: x509: .*(unknown authority|not standards compliant|not trusted)"
|
errSignedByUnknownCA = "Get .*: x509: .*(unknown authority|not standards compliant|not trusted)"
|
||||||
|
Loading…
Reference in New Issue
Block a user