Schedule certificate renewal at the end of Certificate Sync function

Signed-off-by: James Munnelly <james@munnelly.eu>
This commit is contained in:
James Munnelly 2018-10-29 14:27:16 +00:00
parent d8e652c48e
commit de7d79b7e6

View File

@ -191,6 +191,10 @@ func (c *Controller) Sync(ctx context.Context, crt *v1alpha1.Certificate) (reque
// end checking if the TLS certificate is valid/needs a re-issue or renew
// If the Certificate is valid and up to date, we schedule a renewal in
// the future.
c.scheduleRenewal(crt)
return false, nil
}