This is a BOSH release for Clair, an open source project for the static analysis of vulnerabilities in application containers.
In order to use this BOSH release you will need:
- BOSH CLI v2
- An already deployed BOSH environment
- A compatible cloud-config with a
default
option fornetwork
andvm_types
(you can use the example that comes from cf-deployment)
First, clone this repository into your workspace:
git clone https://github.com/frodenas/clair-boshrelease
cd clair-boshrelease
export BOSH_ENVIRONMENT=<name>
To deploy a basic clair
server use the following command:
bosh -d clair deploy manifests/clair.yml \
--vars-store tmp/deployment-vars.yml
Additional operations files are located at the manifests/operators directory. Those files includes a basic configuration, so extra ops files might be needed for additional configuration.
Please review the op files before deploying them to check the requeriments, dependencies and necessary variables.
File | Description | exporter | dashboards | alerts |
---|
Some operators files requires additional information to provide environment-specific or sensitive configuration such as various credentials. To do this in the default configuration, we use the --vars-store
. This flag takes the name of a yml
file that it will read and write to. Where necessary credential values are not present, it will generate new values based on the type information stored at the different deployment files. Necessary variables that BOSH can't generate need to be supplied as well.
See each particular op files you're using for any additional necessary variables.
See also the BOSH CLI documentation for more information about ways to supply such additional variables.
Refer to CONTRIBUTING.md.
Apache License 2.0, see LICENSE.