Configure the ConfigSync mode
sync
configuration in the fusion-config-sync
section of the Helm chart configuration, as shown below.pub:
The first job reads all the configurations from Fusion, adds all the new or changed files to Git, and then performs a git pull
from the remote GitHub repository using [the resolve
merge strategy^][pub]:
In case of conflicts during the pull command, the changes from Fusion always take precedence (which should be a rare occurrence).[sub]:
After that, all the changes in the GitHub files since the latest commit SHA1 are resolved and applied to Fusion.[sub]:
The current commit SHA1 is set as the latest commit SHA1 in the Fusion configuration.[pub/sub]:
The next job reads all the configurations from Fusion and compares them with the latest commit SHA1 in the GitHub repository. If there are any differences, the changes from GitHub are applied to Fusion.[pub/sub]:
The process is repeated in a loop.