-
Notifications
You must be signed in to change notification settings - Fork 38
Open
Labels
sig/multiclusterCategorizes an issue or PR as relevant to SIG Multicluster.Categorizes an issue or PR as relevant to SIG Multicluster.
Description
What happened:
When trying to use a multi-cluster manager with the provider being nil, no requests are enqueued for the local manager.
How to reproduce it (as minimally and precisely as possible):
I modified the apiexport provider snippet to set the provider to nil and let it run against a kind Cluster 1
In this cluster, there were ConfigMaps, like kube-root-ca.crt in default namespace.
When running the controller against the kind Cluster, it successfully starts, but no requests get enqueued:
❯ KUBECONFIG=path/to/kind/kubeconfig go run cmd/test/main.go
2025-07-11T15:19:20+02:00 INFO entrypoint Setting up manager
2025-07-11T15:19:20+02:00 INFO entrypoint Starting manager
2025-07-11T15:19:20+02:00 INFO controller-runtime.metrics Starting metrics server
2025-07-11T15:19:20+02:00 INFO Starting Controller {"controller": "kcp-configmap-controller", "controllerGroup": "", "controllerKind": "ConfigMap"}
2025-07-11T15:19:20+02:00 INFO Starting workers {"controller": "kcp-configmap-controller", "controllerGroup": "", "controllerKind": "ConfigMap", "worker count": 1}
2025-07-11T15:19:20+02:00 INFO controller-runtime.metrics Serving metrics server {"bindAddress": ":8080", "secure": false}
Environment:
sigs.k8s.io/controller-runtime:v0.20.4sigs.k8s.io/multicluster-runtime:v0.20.4-alpha.7- Kubernetes version:
v1.32.2
Footnotes
Metadata
Metadata
Assignees
Labels
sig/multiclusterCategorizes an issue or PR as relevant to SIG Multicluster.Categorizes an issue or PR as relevant to SIG Multicluster.