[config] more config refactoring

parent f40638e7
Pipeline #6583 failed with stages