Commit 9bff932
discovery: remove EnabledByDefault from CRD, use nil tri-state
Remove EnabledByDefault from the CRD and instead use the nil/false/true
tri-state on Enabled:
- Enabled=nil → not configured by user (operator may auto-enable later)
- Enabled=false → explicit user opt-out
- Enabled=true → explicit user opt-in (system-probe fallback allowed)
The fallback distinction is preserved: userExplicitlyEnabled is only
true when Enabled=*true, so a future operator auto-enable path (nil)
would still use the conservative sleep-infinity fallback.
Enabled is intentionally not defaulted to false so that nil remains
distinguishable from an explicit opt-out.
Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>1 parent eed2e42 commit 9bff932
15 files changed
Lines changed: 159 additions & 225 deletions
File tree
- api/datadoghq/v2alpha1
- config/crd/bases/v1
- docs
- internal/controller/datadogagent
- defaults
- feature
- servicediscovery
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
647 | 647 | | |
648 | 648 | | |
649 | 649 | | |
650 | | - | |
651 | | - | |
652 | | - | |
653 | | - | |
654 | | - | |
655 | | - | |
656 | | - | |
657 | 650 | | |
658 | 651 | | |
659 | 652 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 0 additions & 14 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2503 | 2503 | | |
2504 | 2504 | | |
2505 | 2505 | | |
2506 | | - | |
2507 | | - | |
2508 | | - | |
2509 | | - | |
2510 | | - | |
2511 | | - | |
2512 | | - | |
2513 | 2506 | | |
2514 | 2507 | | |
2515 | 2508 | | |
| |||
10942 | 10935 | | |
10943 | 10936 | | |
10944 | 10937 | | |
10945 | | - | |
10946 | | - | |
10947 | | - | |
10948 | | - | |
10949 | | - | |
10950 | | - | |
10951 | | - | |
10952 | 10938 | | |
10953 | 10939 | | |
10954 | 10940 | | |
| |||
Lines changed: 0 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2603 | 2603 | | |
2604 | 2604 | | |
2605 | 2605 | | |
2606 | | - | |
2607 | | - | |
2608 | | - | |
2609 | | - | |
2610 | 2606 | | |
2611 | 2607 | | |
2612 | 2608 | | |
| |||
10776 | 10772 | | |
10777 | 10773 | | |
10778 | 10774 | | |
10779 | | - | |
10780 | | - | |
10781 | | - | |
10782 | | - | |
10783 | 10775 | | |
10784 | 10776 | | |
10785 | 10777 | | |
| |||
Lines changed: 0 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2503 | 2503 | | |
2504 | 2504 | | |
2505 | 2505 | | |
2506 | | - | |
2507 | | - | |
2508 | | - | |
2509 | | - | |
2510 | | - | |
2511 | | - | |
2512 | | - | |
2513 | 2506 | | |
2514 | 2507 | | |
2515 | 2508 | | |
| |||
Lines changed: 0 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2607 | 2607 | | |
2608 | 2608 | | |
2609 | 2609 | | |
2610 | | - | |
2611 | | - | |
2612 | | - | |
2613 | | - | |
2614 | 2610 | | |
2615 | 2611 | | |
2616 | 2612 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2507 | 2507 | | |
2508 | 2508 | | |
2509 | 2509 | | |
2510 | | - | |
2511 | | - | |
2512 | | - | |
2513 | | - | |
2514 | | - | |
2515 | | - | |
2516 | | - | |
2517 | 2510 | | |
2518 | 2511 | | |
2519 | 2512 | | |
| |||
11022 | 11015 | | |
11023 | 11016 | | |
11024 | 11017 | | |
11025 | | - | |
11026 | | - | |
11027 | | - | |
11028 | | - | |
11029 | | - | |
11030 | | - | |
11031 | | - | |
11032 | 11018 | | |
11033 | 11019 | | |
11034 | 11020 | | |
| |||
Lines changed: 0 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2603 | 2603 | | |
2604 | 2604 | | |
2605 | 2605 | | |
2606 | | - | |
2607 | | - | |
2608 | | - | |
2609 | | - | |
2610 | 2606 | | |
2611 | 2607 | | |
2612 | 2608 | | |
| |||
10869 | 10865 | | |
10870 | 10866 | | |
10871 | 10867 | | |
10872 | | - | |
10873 | | - | |
10874 | | - | |
10875 | | - | |
10876 | 10868 | | |
10877 | 10869 | | |
10878 | 10870 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
202 | 202 | | |
203 | 203 | | |
204 | 204 | | |
205 | | - | |
206 | 205 | | |
207 | 206 | | |
208 | 207 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
384 | 384 | | |
385 | 385 | | |
386 | 386 | | |
387 | | - | |
388 | | - | |
389 | | - | |
390 | 387 | | |
391 | 388 | | |
392 | 389 | | |
| |||
0 commit comments