Remove old issuer check in Prepare function

Signed-off-by: James Munnelly <james@munnelly.eu>
This commit is contained in:
James Munnelly 2018-08-07 23:28:34 +01:00 committed by James Munnelly
parent d316ea6fb9
commit 80e0085b5a

View File

@ -46,12 +46,6 @@ func New(ctx *controller.Context, issuer v1alpha1.GenericIssuer) (issuer.Interfa
return nil, fmt.Errorf("acme config may not be empty")
}
if issuer.GetSpec().ACME.Server == "" ||
issuer.GetSpec().ACME.PrivateKey.Name == "" ||
issuer.GetSpec().ACME.Email == "" {
return nil, fmt.Errorf("acme server, private key and email are required fields")
}
// TODO: invent a way to ensure WaitForCacheSync is called for all listers
// we are interested in