From c87f89fcc168f16a7a02089adbfebf60beb6befe Mon Sep 17 00:00:00 2001 From: Jakub Sojka <77203793+garrulus1212@users.noreply.github.com> Date: Sun, 23 Nov 2025 16:41:44 +0100 Subject: [PATCH] Chore/update yq to 4.48.2 (#20967) * chore: update yq from 4.33.3 to 4.48.2 * fix: update yq v4 syntax for Frigate config upload command --------- Co-authored-by: Jakub Sojka --- docker/main/install_deps.sh | 2 +- docs/docs/configuration/advanced.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docker/main/install_deps.sh b/docker/main/install_deps.sh index f8bb5a51a..330caff9f 100755 --- a/docker/main/install_deps.sh +++ b/docker/main/install_deps.sh @@ -145,6 +145,6 @@ rm -rf /var/lib/apt/lists/* # Install yq, for frigate-prepare and go2rtc echo source curl -fsSL \ - "https://github.com/mikefarah/yq/releases/download/v4.33.3/yq_linux_$(dpkg --print-architecture)" \ + "https://github.com/mikefarah/yq/releases/download/v4.48.2/yq_linux_$(dpkg --print-architecture)" \ --output /usr/local/bin/yq chmod +x /usr/local/bin/yq diff --git a/docs/docs/configuration/advanced.md b/docs/docs/configuration/advanced.md index cf821ddda..17eb2053d 100644 --- a/docs/docs/configuration/advanced.md +++ b/docs/docs/configuration/advanced.md @@ -258,7 +258,7 @@ curl -X POST http://frigate_host:5000/api/config/save -d @config.json if you'd like you can use your yaml config directly by using [`yq`](https://github.com/mikefarah/yq) to convert it to json: ```bash -yq r -j config.yml | curl -X POST http://frigate_host:5000/api/config/save -d @- +yq -o=json '.' config.yaml | curl -X POST 'http://frigate_host:5000/api/config/save?save_option=saveonly' --data-binary @- ``` ### Via Command Line