Raj Singh 0843986a0d k8s-operator: remove minItems=1 from appConnector routes
AppConnector.Routes is documented as optional (routes are discovered
dynamically when not set), but the shared Routes type enforces
MinItems=1 via kubebuilder validation. This makes appConnector: {}
fail CRD validation through server-side apply, breaking GitOps
deployments (Flux, ArgoCD with SSA).

Decouple AppConnector.Routes from the shared Routes type so the
MinItems constraint only applies to SubnetRouter.AdvertiseRoutes
where it's actually needed.

Fixes #19195

Signed-off-by: Raj Singh <raj@tailscale.com>
2026-03-31 13:00:48 -05:00
..