Update GitOps reference docs (#20255)

- `fleetctl apply` is for backwards compatibility GitOps
- Remove link to contributor doc page
This commit is contained in:
Noah Talerman
2024-07-08 16:20:12 -04:00
committed by GitHub
parent c059b197c5
commit 2d2178655c
2 changed files with 2 additions and 5 deletions
+2 -2
View File
@@ -1,8 +1,8 @@
# fleetctl apply
The `fleectl apply` command and YAML format is used for one-off imports and updates.
The `fleectl apply` command and YAML interface is used for one-off imports and backwards compatibility GitOps.
To use fleetctl for GitOps, check out Fleet's best practice workflow [here](https://fleetdm.com/using-fleet/gitops).
To use Fleet's best practice GitOps, check out the GitOps docs [here](https://fleetdm.com/using-fleet/gitops).
## Queries
-3
View File
@@ -2,11 +2,8 @@
Use Fleet's best practice GitOps workflow to manage your computers as code.
To learn how to set up a GitOps workflow see the [Fleet GitOps repo](https://github.com/fleetdm/fleet-gitops).
> For one-off imports and updates via fleetctl, see the [`fleetctl apply`](https://github.com/fleetdm/fleet/blob/main/docs/Contributing/Configuration-files.md) format.
## File structure
- `default.yml`- File where you define the queries, policies, controls, and agent options for all hosts. If you're using Fleet Premium, this file updates queries and policies that run on all hosts ("All teams"). Controls and agent options are defined for hosts on "No team."