Skip to content
This repository has been archived by the owner on Sep 27, 2020. It is now read-only.

frodenas/clair-boshrelease

Repository files navigation

Clair BOSH Release

This is a BOSH release for Clair, an open source project for the static analysis of vulnerabilities in application containers.

Table of Contents

Usage

Requirements

In order to use this BOSH release you will need:

Clone the repository

First, clone this repository into your workspace:

git clone https://github.com/frodenas/clair-boshrelease
cd clair-boshrelease
export BOSH_ENVIRONMENT=<name>

Basic deployment

To deploy a basic clair server use the following command:

bosh -d clair deploy manifests/clair.yml \
  --vars-store tmp/deployment-vars.yml

Operations files

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

Deployment variables and the var-store

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.

Contributing

Refer to CONTRIBUTING.md.

License

Apache License 2.0, see LICENSE.