From 9000b55113a0e55e8cecdb5d88034ab6f18c67cc Mon Sep 17 00:00:00 2001 From: Artem Yarmoluk Date: Wed, 29 May 2019 14:32:22 +0300 Subject: [PATCH] Remove region spec requirement --- pkg/apis/certmanager/validation/issuer.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/pkg/apis/certmanager/validation/issuer.go b/pkg/apis/certmanager/validation/issuer.go index 8a1023734e0..150092d510e 100644 --- a/pkg/apis/certmanager/validation/issuer.go +++ b/pkg/apis/certmanager/validation/issuer.go @@ -136,10 +136,6 @@ func ValidatePrivateACMIssuerConfig(iss *v1alpha1.PrivateACMIssuer, fldPath *fie el = append(el, field.Required(fldPath.Child("certificateAuthorityARN"), "certificate authority arn is a required field")) } - if len(iss.Region) == 0 { - el = append(el, field.Required(fldPath.Child("region"), "region is a required field")) - } - return el }