twoliter icon indicating copy to clipboard operation
twoliter copied to clipboard

OOTB: Create a modular settings system

Open cbgbt opened this issue 2 years ago • 2 comments

Related to: bottlerocket-os/bottlerocket#2669

When creating an out-of-tree variant, maintainers should have the ability to provide changes to the settings system. As such, the settings system needs to be modified to allow modular addition and modification to the settings API.

The design for this is proposed in bottlerocket-os/bottlerocket#2834. This issue is to track implementation of this system.

cbgbt avatar May 24 '23 21:05 cbgbt

We have already implemented in bottlerocket the bottlerocket-settings-sdk for pluggable settings.

jmt-lab avatar Oct 14 '25 21:10 jmt-lab

It's still important to move all the way to modular settings extensions.

The current approach is quite difficult to compose in a reusable way by downstream builds.

Plugins are not too bad but the defaults, templates, and migrations are not designed for straightforward reuse.

bcressey avatar Oct 17 '25 01:10 bcressey