Schedule certificate renewal at the end of Certificate Sync function
Signed-off-by: James Munnelly <james@munnelly.eu>
This commit is contained in:
parent
d8e652c48e
commit
de7d79b7e6
@ -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
|
// 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
|
return false, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user