Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 24 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,33 @@ Repo that contains the manifests for gitops pipeline demos

This demo requires 3 clusters and one harness gitops agent.

1 cluster with the gitops agent where you deploy the applicationset and 2 clusters for the dev and qa environments
1 cluster has the gitops agent, you will deploy the appset to this cluster in the argocd namespace
1 cluster is the dev version of the application
1 cluster is the prod version
You will need service accounts and tokens configured for the dev and prod clusters

Setup a new gitops repository for this URL, you can use anonymous credentials because this is a public repo
In Harness

<img width="849" alt="image" src="https://github.com/clucca13/gitops-demo/assets/63068621/30510e49-3646-4771-9c04-5519e70a6b5f">

Create a new gitops application in Harness



Edit https://github.com/clucca13/gitops-demo/blob/main/helm/app/appset.yaml and change

repoURL: https://github.com/clucca13/gitops-demo.git <--change to your repo name
project: 06af6bc2 <-- change to your harness project ID, this can be found in gitops:Settings>GitOpsAgent>Mapped Harness Project

![image](https://github.com/clucca13/gitops-demo/assets/63068621/95297bac-5331-4c72-84dd-d0e210908f7b)


Edit helm/app/prod/testcluster1/lucca-gitops-prod/config.json and helm/app/qa/testcluster1/lucca-gitops-prod/config.json






Create a new gitops application in Harness called "gitops-demo"
Create a new service called gitops-demo
Create a new environment called gitops-demo

Expand Down