mirror of
https://github.com/open-cluster-management-io/ocm.git
synced 2026-02-14 18:09:57 +00:00
Add event when stop creating CSR too many. (#482)
Signed-off-by: xuezhaojun <zxue@redhat.com>
This commit is contained in:
@@ -312,6 +312,7 @@ func (c *clientCertificateController) sync(ctx context.Context, syncCtx factory.
|
||||
}); updateErr != nil {
|
||||
return updateErr
|
||||
}
|
||||
syncCtx.Recorder().Eventf("ClientCertificateCreationHalted", "Stop creating csr since there are too many csr created already on hub", c.controllerName)
|
||||
return nil
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user