Files
frigate/frigate/api
Josh HawkinsandGitHub 304dd6dda8 Resolve placeholders against saved environment_vars (#25086)
* resolve config placeholders against the saved environment_vars

Validating a saved config resolved {FRIGATE_*} placeholders against the environment_vars block from startup instead of the block being saved, so a newly added variable was reported as undefined and a removed one passed validation and then failed at the next start. The go2rtc stream check had the same problem and also skipped any source whose text was unchanged, even when its placeholder value changed. Config parses that don't install the block now resolve against the candidate's own environment_vars, and the go2rtc stream check does the same and only skips an unchanged source when it still resolves to the same value.

* fix

* match masked camera paths with the running config's environment_vars

Matching a masked path under both the startup and saved environment_vars could pick the wrong input when a saved but unapplied change made two hosts collide, so a role swap saved one input's path for both. Saved paths now resolve only with the block the running config was built from, which is what /config showed.
2026-11-25 05:05:19 -07:00
..
2026-11-24 08:22:35 -06:00
2026-09-12 07:30:04 -06:00
2026-11-24 06:35:19 -07:00
2026-11-24 08:22:35 -06:00
2026-11-02 08:11:27 -06:00
2026-11-24 07:13:00 -07:00
2026-11-24 07:12:34 -07:00
2026-11-24 07:12:34 -07:00
2026-11-19 06:38:44 -07:00