retina icon indicating copy to clipboard operation
retina copied to clipboard

feat: Add the ability to overlay configuration

Open timraymond opened this issue 1 year ago • 2 comments

In certain deployments, it's desirable to have one set of configuration pre-set and another set of overrides to that configuration. In this overlay configuration, only certain fields should be overridable--additional provided fields should be ignored.

This modifies GetConfig in a backwards-compatible way to accept a variadic list of configuration overlays. These overlays take a filesystem path and a set of allowed fields that are permitted from those overlay configs. It also introduces internal types for performing filtering of these configuration files.

These are currently not used. A subsequent pull request will integrate this work.

timraymond avatar Sep 03 '24 17:09 timraymond

I'm hearing... drop-ins? 🙂

rbtr avatar Sep 03 '24 17:09 rbtr

This PR will be closed in 7 days due to inactivity.

github-actions[bot] avatar Oct 12 '24 00:10 github-actions[bot]

This PR will be closed in 7 days due to inactivity.

github-actions[bot] avatar Nov 15 '24 00:11 github-actions[bot]

Pull request closed due to inactivity.

github-actions[bot] avatar Nov 22 '24 00:11 github-actions[bot]