[opentelemetry-kube-stack] Deprecate `ddot/install` and `ddot/uninstall` in favor of the parent scripts #557
All Vouch review confidence checks passed
Residual risk 0.27 = Change Risk (0.68) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.68 · 422 lines diff across 5 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.362
Shallow Review Depth
shallow_review_depth
0.289
Sensitive Paths
sensitive_paths
0.068
Real PR Conversation Timeline
1 comments
"Review active on #557"
general
weight: 0.35
mx-psi
Summary
The parent
installscript installs the DDOT components withDD_INSTALL_FLOW=ddot, andddot/installhad drifted from it.ddot/installstill installed the OpenTelemetry Kube Stack Helm chart 0.26.1 with addot/values.yamlwritten for 0.27.3, and the Datadog Operator chart 2.28.1 instead of 2.33.0. It also lacked the parent script's API key handling, option reuse on re-runs, permission checks, and Fleet Automation support.This PR makes the parent scripts the only installer and uninstaller:
ddot/installis deprecated. It prints a deprecation warning and runs../installwithDD_INSTALL_FLOW=ddot. It keeps--local,--config-url, overlay values files given as a URL or relative path, and the legacyhost-profilerandddagent-kube-stackHelm release check.ddot/installinstallations.../installrefuses to install over an OpenTelemetry Operator or a Datadog Operator that it didn't install. The wrapper detects installations made by earlier versions ofddot/installand recordsDD_INSTALL_FLOW=ddotin theopentelemetry-kube-stack-install-optionsConfigMap, so that../installupgrades them.ddot/INSTALL.mddocuments the manual steps.ddot/uninstallis removed. Use../uninstall.../uninstallnow deletes the Datadog Operator CRDs. Its warning listed them, but it didn't delete them. The list now also includes the four CRDs thatddot/uninstalldeleted:datadogagentprofiles,datadogslos,datadogdashboards, anddatadoggenericresources.ddot/README.mdandddot/INSTALL.mddocument../installwithDD_INSTALL_FLOW=ddot, and link to the parent README for the environment variables.INSTALL.mdcovers overlay values files, local copies of the configuration files, the cluster changes, troubleshooting, and the chart versions of the manual installation. The astronomy-store README points to the parent script.Behavior changes for
ddot/installusers../install: OpenTelemetry Kube Stack 0.27.3, Datadog Operator 2.33.0, and cert-manager pinned to v1.21.3.K8S_CLUSTER_TYPE=other,K8S_CLUSTER_NAMEno longer defaults tounknown-k8s-cluster: it stays unset, as in../install.--localneeds the parent folder's layout (install,upstream/values.yaml,ddot/...).Open question
Local copies of the configuration files rely on the
TESTING_BASE_URLenvironment variable of../install, whichddot/INSTALL.mdnow documents. A clearer name, such asCONFIG_BASE_URL, might fit better for a user-facing option.Test plan
ddot/install --help, unknown options,DD_INSTALL_FLOW=upstream, a missingDD_API_KEY, and a--config-urloutside addotfolder fail with the expected errors.kubectlandhelmcommands,--local, the default tag download, and relative overlay paths all hand off to../install. With--local,../installdownloads its configuration files fromfile://.bash -n uninstall.DD_INSTALL_FLOW=ddot ./install, then uninstall with./uninstall.v0.1.0ddot/installby running the newddot/install.🤖 Generated with Claude Code