set cloud_controller_uri based on cluster endpoint