Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[API/YAML changes] Manage Fleet-maintained apps via YAML files (GitOps) #23524

Draft
wants to merge 2 commits into
base: docs-v4.61.0
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions docs/Configuration/yaml-files.md
Original file line number Diff line number Diff line change
Expand Up @@ -320,6 +320,7 @@ software:
### packages

- `url` specifies the URL at which the software is located. Fleet will download the software and upload it to S3 (default: `""`).
- `version` specifies the version of the software (optional).
- `install_script.path` specifies the command Fleet will run on hosts to install software. The [default script](https://github.com/fleetdm/fleet/tree/main/pkg/file/scripts) is dependent on the software type (i.e. .pkg).
- `pre_install_query.path` is the osquery query Fleet runs before installing the software. Software will be installed only if the [query returns results](https://fleetdm.com/tables) (default: `""`).
- `post_install_script.path` is the script Fleet will run on hosts after installing software (default: `""`).
Expand All @@ -331,6 +332,7 @@ software:

```yaml
url: https://dl.tailscale.com/stable/tailscale-setup-1.72.0.exe
version: 1.72.0
install_script:
path: ../lib/software/tailscale-install-script.ps1
self_service: true
Expand Down
3 changes: 2 additions & 1 deletion docs/REST API/rest-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -9624,8 +9624,9 @@ Returns information about the specified Fleet-maintained app.
{
"fleet_maintained_app": {
"id": 1,
"url": "https://downloads.1password.com/mac/1Password-8.10.50-aarch64.zip",
"name": "1Password",
"filename": "1Password-8.10.44-aarch64.zip",
"filename": "1Password-8.10.50-aarch64.zip",
"version": "8.10.40",
"platform": "darwin",
"install_script": "#!/bin/sh\ninstaller -pkg \"$INSTALLER_PATH\" -target /",
Expand Down
Loading