10cm is dangerously close to the water and will surely expose any fixture to water damage.

The fixture should be placed at least 25cm away from the water surface.