1
0
Fork 0
mirror of https://github.com/external-secrets/external-secrets.git synced 2024-12-14 11:57:59 +00:00
external-secrets/pkg/controllers/webhookconfig
Moritz Johner f5cd6816aa
feat: fix cert-controller readiness probe (#2857)
readiness probes are being executed independently from the
leader election status. The current implementation depends on
leader election (client cache etc.) to run properly.
This commit fixes that by short-circuiting the readiness probes
when the mgr is not the leader.

This bug surfaces when `leader-election=true` and cert-controller `replicas>=2`.

Signed-off-by: Moritz Johner <beller.moritz@googlemail.com>
2023-11-07 09:51:27 +01:00
..
suite_test.go feat: fix cert-controller readiness probe (#2857) 2023-11-07 09:51:27 +01:00
webhookconfig.go feat: fix cert-controller readiness probe (#2857) 2023-11-07 09:51:27 +01:00
webhookconfig_test.go chore: bump dependencies (#2568) 2023-08-02 21:42:03 +02:00