Does anyone have a workaround for applying templates before a single node ES system starts accepting networking requests? The removal of index level config file settings in 5.X and filesystem based templates in 2.X pretty much guarantees that my indexes will get created with the wrong values on startup before I can apply templates.
Disabling automatic index creation isn't an option for me for reasons that are sort of out of scope.
I'm running in a docker framework so I can't do port blocking as part of my startup process in anything like a clean way.
Right now it seems like the best way to change default settings in this case is to either recompile elasticsearch from source or to automate reindexing to a newer-by-a-few-seconds index once I can apply the template and do a swap as part of node startup, both of which are gross.