Commit c8d7eb9
committed
feat: add Sandbox support to AgentCard controller
The AgentCard controller watches Deployment and StatefulSet to trigger
reconciliation when workloads change. It did not watch Sandbox, so
AgentCard status wouldn't react to Sandbox lifecycle events.
Add conditional Watches for Sandbox via SandboxCRDExists guard, using
the existing mapWorkloadToAgentCard handler.
Fixes: #340
Assisted-By: Claude (Anthropic AI) <noreply@anthropic.com>
Signed-off-by: cwiklik <cwiklikj@gmail.com>1 parent 93a8924 commit c8d7eb9
1 file changed
Lines changed: 11 additions & 0 deletions
Lines changed: 11 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
140 | 140 | | |
141 | 141 | | |
142 | 142 | | |
| 143 | + | |
143 | 144 | | |
144 | 145 | | |
145 | 146 | | |
| |||
1282 | 1283 | | |
1283 | 1284 | | |
1284 | 1285 | | |
| 1286 | + | |
| 1287 | + | |
| 1288 | + | |
| 1289 | + | |
| 1290 | + | |
| 1291 | + | |
| 1292 | + | |
| 1293 | + | |
| 1294 | + | |
| 1295 | + | |
1285 | 1296 | | |
1286 | 1297 | | |
1287 | 1298 | | |
| |||
0 commit comments