From 8393baed18969cc59b49f703a7ddfd6259297762 Mon Sep 17 00:00:00 2001 From: JessamyT <75634662+JessamyT@users.noreply.github.com> Date: Tue, 12 Mar 2024 14:01:53 -0700 Subject: [PATCH] DOCS-1929: Add fragment mod support note (#2647) --- docs/fleet/configure-a-fleet.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docs/fleet/configure-a-fleet.md b/docs/fleet/configure-a-fleet.md index 5cead25201..5724a6c971 100644 --- a/docs/fleet/configure-a-fleet.md +++ b/docs/fleet/configure-a-fleet.md @@ -89,6 +89,14 @@ If you need to modify the config of just one machine that uses a fragment you ha You can modify fragment fields in your machine's raw JSON config by using [update operators](https://www.mongodb.com/docs/manual/reference/operator/update/positional/#---update-). Viam supports all update operators except for `$setOnInsert`, `$`, `$[]`, and `$[]`. +{{% alert title="Note" color="note" %}} + +`fragment_mods` are _not_ supported for the modification of [Viam Agent](/build/provision/) configuration or [webhook](/build/configure/#webhooks) configuration. + +{{% /alert %}} + +To configure fragment mods: + 1. Navigate to your machine's **Config** tab. 2. Switch to **Raw JSON** mode. 3. Add a top-level section called `"fragment_mods"` (alongside the other top-level sections like `"components"` and `"fragments"`):