Sync GitOps applications
Sync is a process that ensures that the live state of a system matches its desired state by applying a declarative description. This process involves synchronizing the desired Git state with the live cluster state.
To sync applications from the Applications page:
In your GitOps project, go to Deployments > GitOps > Applications, and then select your application.
To sync the selected application:
Select the more options icon, and then select Sync.
Select the application, and then select SYNC.
Configure the sync options, and then select Synchronize.
To sync applications using the GitOpsSync step:
Select a pipeline and go to the Execution tab of a deploy stage.info
Make sure that the service, environment, and cluster selected in the pipeline matches the service, environment, and cluster in the application.
Select Add Step, and then select the GitOpsSync step.
Select the GitOpsSync step to configure step parameters.
In Advanced Configuration, select the application you want to sync and configure the sync options.
Select Apply Changes.
Here is how the resources would look in Harness after the sync process is complete.