This repo contains the source for the Bosh deployment manifest and deployment pipeline for the 18F Cloud Foundry deployment.
- Install
spiff
- Copy the secrets examples to secrets files:
cp cf-secrets-example.main.yml cf-secrets.main.yml
cp cf-secrets-example.external.yml cf-secrets.external.yml
- Change all the variables in CAPS from
cf-secrets.*.yml
to proper values- Easily rotated secrets exist in the
main.yml
file, while external dependencies which can be either rotated in coordination with other resources (e.g. uaa.clients) or cannot be rotated at all (e.g. cc.db_encryption_key) exist in theexternal.yml
file.
- Easily rotated secrets exist in the
- Run
./generate.sh
Wherever you have your bosh installation run:
CREATE EXTENSION "uuid-ossp"
on the Postgres RDS instance for ccdbbosh deployment manifest.yml
bosh deploy
Run the certificate generation script. For more information use the --help
flag.
./generate-all-certificates.sh