[CONTP-2232] Remove unused Kubernetes compatibility wrappers and constants #3739
All Vouch review confidence checks passed
Residual risk 0.22 = Change Risk (0.55) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.55 · 124 lines diff across 1 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.289
Shallow Review Depth
shallow_review_depth
0.289
Sensitive Paths
sensitive_paths
0.055
Real PR Conversation Timeline
1 comments
"Review active on #3739"
general
weight: 0.35
gabedos
What does this PR do?
Remove unused Kubernetes compatibility aliases, constants, and the
containsObjectKindtest helper. Repository reference checks found no callers for the removed symbols; active discovery and Cilium API names remain in place.Motivation
Implements CONTP-2232 to reduce dead code in the operator module.
Additional Notes
Deletes 22 lines across seven files. No API module or generated artifacts change.
Minimum Agent Versions
No new minimum Agent or Cluster Agent version required.
Describe your test plan
CI
Checklist
refactoringqa/skip-qalabel (unused-code removal; affected tests and renderer goldens pass)[CONTP-2232]: https://datadoghq.atlassian.net/browse/CONTP-2232?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ