diff --git a/pkg/util/pki/match.go b/pkg/util/pki/match.go index d045abcc1..0b331ae6d 100644 --- a/pkg/util/pki/match.go +++ b/pkg/util/pki/match.go @@ -312,16 +312,6 @@ func SecretDataAltNamesMatchSpec(secret *corev1.Secret, spec cmapi.CertificateSp violations = append(violations, "spec.emailAddresses") } - if spec.OtherNames != nil { - matched, err := matchOtherNames(x509cert.Extensions, spec.OtherNames) - if err != nil { - return nil, err - } - if !matched { - violations = append(violations, "spec.otherNames") - } - } - return violations, nil }