Configure deprecation log index properties

@OrangeDog
This one worked for me

curl -XPUT -k -u elastic:$pass "https://localhost:9200/_component_template/.deprecation-indexing-settings" -H 'Content-Type: application/json' -d '{"template":{"settings":{"index":{"lifecycle":{"name":".deprecation-indexing-ilm-policy"},"codec":"best_compression","hidden":"true","number_of_replicas":"0","auto_expand_replicas":"0-1","query":{"default_field":["message"]}}}},"version":1,"_meta":{"managed":true,"description":"default settings for Stack deprecation logs index template installed by x-pack"}}}'

Note: First I've tried this one and changed the version number but it completely overwrote my settings so be careful!

curl -XPUT -k -u elastic:$pass "https://localhost:9200/_component_template/.deprecation-indexing-settings" -H 'Content-Type: application/json' -d '{"template": {"settings": {"number_of_replicas": 0}},"version":2}'

All of my data streams are yellow, would be nice if someone could show us how to change the stream defaults to zero replicas like in the past with deprecated templates