From f87840fb048175545c928077e42aca958c568445 Mon Sep 17 00:00:00 2001 From: Scot Wells Date: Sat, 25 Jul 2026 16:42:42 -0500 Subject: [PATCH] fix: Install infrastructure-group CRDs in the test-infra overlay milo-controller-manager runs with --control-plane-scope=core in this overlay and reconciles ProjectControlPlane, but the overlay never installed the infrastructure-group CRD, so the controller loops on "no matches for kind ProjectControlPlane in version infrastructure.miloapis.com/v1alpha1" and the core control plane never becomes usable. Consumers that stand up milo from this overlay (milo-os/resource-metrics, datum-cloud/dns-operator) each carried a separate Flux Kustomization to install config/crd/bases/infrastructure as a workaround. Add that path to the overlay's resources so it stands up a working core control plane out of the box and those workarounds can be dropped. Co-Authored-By: Claude Opus 4.8 --- config/overlays/test-infra/kustomization.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/config/overlays/test-infra/kustomization.yaml b/config/overlays/test-infra/kustomization.yaml index 85ada5f52..07a337280 100644 --- a/config/overlays/test-infra/kustomization.yaml +++ b/config/overlays/test-infra/kustomization.yaml @@ -14,6 +14,14 @@ resources: - ../../apiserver - ../../controller-manager/overlays/core-control-plane + # Infrastructure-group CRDs. milo-controller-manager runs with + # --control-plane-scope=core (see controller-manager/overlays/core-control-plane) + # and reconciles ProjectControlPlane, so its CRD must be installed or the + # controller loops on "no matches for kind ProjectControlPlane". Consumers of + # this overlay (resource-metrics, dns-operator) previously had to install it + # separately; include it here so the overlay stands up a working core CP. + - ../../crd/bases/infrastructure + # Deploy argo-events (controller runs on infrastructure cluster) - ../../dependencies/argo-system