Commit 6b403d9
committed
fix(applications): wire newArgocdClientFn in Application controller connector
Setup() built the connector without setting newArgocdClientFn (unlike every
other controller, e.g. projects), leaving it nil. Connect() -> NewExternal()
then invokes that nil function pointer, which panics. controller-runtime
recovers the panic and requeues with backoff instead of crashing, so the
Application managed resource silently never reconciles: no error is logged,
no event is recorded, and .status is never populated, even though the
underlying ArgoCD Application is healthy.1 parent 001217a commit 6b403d9
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
58 | | - | |
| 58 | + | |
| 59 | + | |
59 | 60 | | |
60 | 61 | | |
61 | 62 | | |
| |||
0 commit comments