Allow custom index name in ES administration
Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.
Summary
This is a follow-up to !17230 (closed) / !18254 (merged) / !20421 (merged).
Currently the internal name of an ES index is hard-coded to be gitlab-$ENV-$VERSION-$SALT, where $ENV is usually production, $VERSION is our index mapping version (e.g. v12p1), and $SALT is a random 6-character string to allow having multiple indices with the same version on the same cluster.
Improvements
To allow greater control for users we could add an "Index name" field to our form (different from the "Friendly name", which is only used for display purposes in the administration), pre-fill it based on the selected version (if #14620 (closed) is already implemented, otherwise use the latest version), and allow the user to customize it.
Involved components
ee/app/assets/javascripts/elasticsearch/ee/app/models/elasticsearch_index.rbee/lib/api/elasticsearch_indices.rb