diff options
| author | emilylange <git@emilylange.de> | 2025-08-04 22:40:16 +0200 |
|---|---|---|
| committer | emilylange <git@emilylange.de> | 2025-08-04 23:19:08 +0200 |
| commit | 4b038dfbab6df760c9c403cf2fa22a9adb65dc5e (patch) | |
| tree | 8e710f1243eb2315640563de9e61c4f4b450b8f6 /pkgs/development/python-modules/termplotlib/gnuplot-subprocess.patch | |
| parent | 9ed09ca90550d8d5f8bc0bef3fb943fd23bec2ee (diff) | |
nixos/{consul-template,vault-agent}: drop `template` sub-option
An HCL config can be represented as JSON in different ways and we forced
users to use a list of attrsets for `cfg.settings.template` prior to
this change.
Similarly, a user may opt to use `vault-agent` exclusively as auth-proxy
without any templates, which would result in `null` ending up in the
resulting JSON configuration and prevent `vault-agent` from starting.
A lot of NixOS modules opt to recursively filter out any `null` values
when hitting this, either by defining a function in `apply =` in
`cfg.settings` or in the `format.generate` call, but that comes with its
own set of downsides.
While I personally can't think of a use-case involving `consul-template`
without templates, it does manage to start without one just fine and
`consul-template` is equally affected by our opinionated JSON
representation forced onto the user.
As such, we decided in favor of removing the option entirely in the
discussion leading up to this.
This is one of the 3 suggested implementations from issue 420208.
You can see the other 2 there too, if you are curious.
tl;dr: Non-breaking bug fix to allow using `vault-agent` without
templates and no longer forcing our opinionated JSON representation onto
the user.
Diffstat (limited to 'pkgs/development/python-modules/termplotlib/gnuplot-subprocess.patch')
0 files changed, 0 insertions, 0 deletions
