Log start of cluster sync
This adds a log line to sync similar to update. It's helpful to
operators to understand at which commit the cluster is stuck should any
errors occur with cluster sync, such as k8s internal issues.
@@ -70,6 +70,8 @@ func (d *Daemon) Sync(ctx context.Context, started time.Time, newRevision string
return err
}
+ d.Logger.Log("info", "trying to sync git changes to the cluster", "old", c.oldTagRev, "new", c.newTagRev)
+
// Run actual sync of resources on cluster
syncSetName := makeGitConfigHash(d.Repo.Origin(), d.GitConfig)
resourceStore, err := d.getManifestStore(working)
