Skip to content

Commit

Permalink
DOCS-1929: Add fragment mod support note (#2647)
Browse files Browse the repository at this point in the history
  • Loading branch information
JessamyT authored Mar 12, 2024
1 parent c331569 commit 8393bae
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions docs/fleet/configure-a-fleet.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 `$[<identifier>]`.

{{% 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"`):
Expand Down

0 comments on commit 8393bae

Please sign in to comment.