Commit 99b738c
Use namespace list from namespaceWatcher.NamespaceStore instead of retrieving it (#132)
This fixes performance issues when many secrets need to be replicated to
other namespaces via replicate-to.
The performance issue would be acceptable, when it would fix itself after
some time after the initial replication after startup. However, with the
current solution, the liveness probe never gets green and keep causing
replicator restarts in our clusters.
Co-authored-by: Martin Helmich <m.helmich@mittwald.de>1 parent a5f212a commit 99b738c
1 file changed
+6
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
269 | 269 | | |
270 | 270 | | |
271 | 271 | | |
272 | | - | |
273 | | - | |
274 | | - | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
275 | 278 | | |
276 | 279 | | |
277 | 280 | | |
| |||
0 commit comments