Skip to content

Latest commit

 

History

History
31 lines (29 loc) · 2 KB

instructions.md

File metadata and controls

31 lines (29 loc) · 2 KB

Setup Instructions

Since we build on the work of others, we have to run some steps from their repositories before we get started.

  1. Setup the Foundational Lab and Bonus Labs, follow the steps as document in @doddatpivotal's repository and its references to the original lab.
  2. Configure parameters for this lab another step where I lean heavily on @doddatpivotal since my parameter file is adapted from his.
  3. Prepare your Harbor registry with the required Okta users, projects, and replications.
  4. Install TBS and it's dependencies onto the shared services cluster. This step also creates a stack and builder using older dependencies so we can demonstrate how new TBS dependencies can resolve CVEs without developers rebuilding.
  5. Setup the environment for the Petclinic development team. Creates dependencies for the development team in Okta, Concourse, TMC, and both the workload and shared services clusters.
  6. Prepare TMC policy to allow access to the cluster, enforce deployment minimums, and one allow workloads from the private registry.
  7. Deploy Sonarqube to the shared service cluster. Sonarqube is used in the pipeline to run as static code scan before building an image from the application.
  8. Push the policy bundle to to registry. The bundle contains a set of simple resiliency policies that the pipeline will use to validate Kubernetes artifacts.
  9. Setup Concourse secrets and pipeline. The script both sets the secrets in Kubernetes and set the pipeline in Concourse so they'll each be up-to-date and in sync.