1
0
mirror of synced 2026-02-06 10:55:56 +00:00

Rename sync cmd to reconcile

This commit is contained in:
stefanprodan
2020-07-14 11:45:15 +03:00
parent bf67577073
commit 394227571f
15 changed files with 91 additions and 139 deletions

View File

@@ -329,19 +329,19 @@ git add -A && git commit -m "update prod webapp" && git push
Trigger a git sync:
```console
$ tk sync ks gitops-system --with-source
$ tk reconcile ks gitops-system --with-source
► annotating source gitops-system
✔ source annotated
◎ waiting for git sync
✔ git sync completed
◎ waiting for reconcilitation
✔ git reconciliation completed
✔ fetched revision master/d751ea264d48bf0db8b588d1d08184834ac8fec9
◎ waiting for kustomization sync
✔ kustomization sync completed
◎ waiting for kustomization reconcilitation
✔ kustomization reconcilitation completed
✔ applied revision master/d751ea264d48bf0db8b588d1d08184834ac8fec9
```
The kubectl equivalent is `kubectl -n gitops-system annotate gitrepository/gitops-system source.fluxcd.io/syncAt="$(date +%s)"`.
The kubectl equivalent is `kubectl -n gitops-system annotate gitrepository/gitops-system fluxcd.io/reconcileAt="$(date +%s)"`.
Wait for the webapp to be upgraded: