By default, Kong Operator’s ControlPlane watches all namespaces. This provides a convenient out-of-the-box experience but may not suit production environments where multiple teams share the same cluster.
You can restrict namespace watching in two ways depending on how you manage your gateways:
- Managed Gateways (Gateway API flow): Set
watchNamespacesviaGatewayConfiguration.spec.controlPlaneOptions. You do not create aControlPlanedirectly. See Multi-tenancy for the full use case. - Direct
ControlPlanemanagement: SetwatchNamespacesdirectly in theControlPlane’sspec.