Example project to demonstrate GitOps using Kustomize, Harness CIE and Harness CD
- Code change is made to a Go application and pushed to main
- Harness CIE pipeline is triggered
- Code is first unit tested
- If tests are OK, the application is packaged as a Docker image and pushed to DockerHub
- The kustomize manifests are edited to reference this new image tag
- Kustomize changes are committed and pushed automatically by the workflow
- As kustomize files have changed, Harness Gitops synchronize the application state with the Kubernetes cluster to deploy or update the app