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:
parent
16bcc214a5
commit
2272104ab3
1 changed files with 1 additions and 0 deletions
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue