According to the documentation, the values of cluster.routing.rebalance.enable and cluster.routing.allocation.enable are lowercase, however the defaults in the code are uppercase,
Ref: https://www.elastic.co/guide/en/elasticsearch/reference/current/shards-allocation.html