diff --git a/pkg/util/webhook/webhook_test.go b/pkg/util/webhook/webhook_test.go index b74aba044..0857cc36c 100644 --- a/pkg/util/webhook/webhook_test.go +++ b/pkg/util/webhook/webhook_test.go @@ -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 (