We need to see your config.
I think you seem to have misunderstood how VLANs work - you don't assign a different VLAN to your 10. controllers so they can communicate with that other VLAN. That's not at all how it works.
The two different subnets are in two different VLANs.
To communicate, the devices send packets to their default GW.
The default GW is the router address assigned to their VLAN interface on the router/Layer3 switch.
The router/Layer3 switch then routes the packets to the other VLAN.