Skip to content

nicholaslotz/podinfo-gitops-pr-pipeline

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Deploy Podinfo Appset via Harness GitOps and terraform

Summary

High level instructions

Provisioning

  1. Clone this repo to a machine that has Terraform and Terragrunt installed.
  2. Set your Harness credentials. Run export TF_VAR_harness_api_token=<your Harness access token>.
    NOTE Be sure not to add your PAT to .tfvars!
  3. Set your Harness account info. Run export TF_VAR_account_id=<your Harness account ID>. Your account ID can be found in the web URL when accessing the Harness app.
  4. Run terragrunt run-all apply and confirm when prompted. Terraform will provision the Harness GitOps agent, install the agent in the cluster, create other Harness resources, and deploy the guestbook application.
  5. Run kubectl get pods -n dev and verify the podinfo application was deployed.

Cleanup

  1. Run terragrunt run-all destroy from the gitops-terraform-onboarding/ directory. Confirm when prompted.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HCL 100.0%