1
0
Fork 0
mirror of https://github.com/kyverno/policy-reporter.git synced 2024-12-14 11:57:32 +00:00

fix HA mode without leaderelection

Signed-off-by: Frank Jogeleit <frank.jogeleit@web.de>
This commit is contained in:
Frank Jogeleit 2024-09-28 12:23:37 +02:00
parent 16bcc214a5
commit 2272104ab3

View file

@ -142,6 +142,7 @@ func newRunCMD(version string) *cobra.Command {
}) })
} else { } else {
resolver.RegisterSendResultListener() resolver.RegisterSendResultListener()
readinessProbe.Ready()
} }
g.Go(server.Start) g.Go(server.Start)