Kubernetes Operator managing Datadog resources (Agent, Monitors, SLOs, Dashboards, etc.) via multiple controllers.
make build # Build manager + kubectl plugin (includes generate + lint)
make managergobuild # Build only Go binary (skip lint/generate)
go test ./... # Unit tests only
make ci-test # Unit + integration tests (no build/fmt/licenses)
make lint # golangci-lint + go vet — run before committing
go test ./path/to/pkg/ -run TestName # Single testRun after changing API types or kubebuilder markers:
make generate && make manifests- Run
make syncafter dependency changes (Go workspace: root.+api/) - CRD types file (
api/datadoghq/v2alpha1/datadogagent_types.go) is very large — read only the section you need make testis slow (builds + formats + licenses + all tests). Usego test ./...ormake ci-testfor quick iteration