Change topic from :Bad logic for allocation shard due to data tier arch -> case with node roles syntax in elastic >8.0.0

Can someone from Elastic Team Member explain how it should be configure coordinator node from roles perspective (it shouldn't store any data)