Commit c6c5d68
Add feature flags to disable discovery, findings, and resource watch (#2020)
* Add env vars to disable findings persistence, discovery, and resource watch writes
DISABLE_FINDINGS_PERSISTENCE - skip writing findings to Issues/Evidence tables
DISABLE_DISCOVERY - skip the periodic resource discovery loop (keeps cluster status)
DISABLE_RESOURCE_WATCH_PERSISTENCE - skip real-time K8s watch event DB writes
https://claude.ai/code/session_015jBvu6MGAga8iFmnWmiA2g
* handle no resource on pod investigator
---------
Co-authored-by: Claude <noreply@anthropic.com>1 parent c5ed072 commit c6c5d68
File tree
3 files changed
+31
-7
lines changed- playbooks/robusta_playbooks
- src/robusta/core
- model
- sinks/robusta
3 files changed
+31
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
44 | 48 | | |
45 | 49 | | |
46 | 50 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
99 | 99 | | |
100 | 100 | | |
101 | 101 | | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
102 | 105 | | |
103 | 106 | | |
104 | 107 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
20 | 23 | | |
21 | 24 | | |
22 | 25 | | |
| |||
87 | 90 | | |
88 | 91 | | |
89 | 92 | | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
90 | 100 | | |
91 | 101 | | |
92 | 102 | | |
| |||
228 | 238 | | |
229 | 239 | | |
230 | 240 | | |
| 241 | + | |
| 242 | + | |
231 | 243 | | |
232 | 244 | | |
233 | 245 | | |
| |||
244 | 256 | | |
245 | 257 | | |
246 | 258 | | |
| 259 | + | |
| 260 | + | |
247 | 261 | | |
248 | 262 | | |
249 | 263 | | |
| |||
626 | 640 | | |
627 | 641 | | |
628 | 642 | | |
629 | | - | |
| 643 | + | |
630 | 644 | | |
631 | 645 | | |
632 | 646 | | |
633 | 647 | | |
634 | | - | |
635 | 648 | | |
636 | | - | |
637 | | - | |
638 | | - | |
639 | | - | |
640 | | - | |
| 649 | + | |
| 650 | + | |
| 651 | + | |
| 652 | + | |
| 653 | + | |
| 654 | + | |
| 655 | + | |
| 656 | + | |
| 657 | + | |
641 | 658 | | |
642 | 659 | | |
643 | 660 | | |
| |||
0 commit comments