Default osquery container version to latest in test docker-compose (#2152)

Now only the enroll secret needs to be configured when running osquery
containers for testing.
This commit is contained in:
Zachary Wasserman 2019-11-17 14:10:11 -08:00 committed by GitHub
parent b02a42dc3b
commit 863ae14ab8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

1
tools/osquery/.env Normal file
View File

@ -0,0 +1 @@
KOLIDE_OSQUERY_VERSION=latest

View File

@ -21,10 +21,9 @@ Using Docker enables us to rapidly spin up and down pre-configured `osqueryd` in
Docker and docker-compose are the only dependencies. The necessary container images will be pulled from Docker Cloud on first run.
Set `KOLIDE_OSQUERY_VERSION` to either `1.8.2` or `latest` (currently 2.1.2) to indicate which version of osquery that you want to run on your
containers.
Set the environment variable `ENROLL_SECRET` to the value of your Fleet enroll secret (available on the manage hosts page, or via `fleetctl get enroll-secret`).
You will also need to set the environment variable `ENROLL_SECRET` to the value of your Fleet enroll secret (available on the manage hosts page, or via `fleetctl get enroll-secret`).
(Optionally) Set `KOLIDE_OSQUERY_VERSION` if you want to run an osquery container besides `latest`.
### Running osqueryd