From 750830c3021ec09bdb1fa360e67094ded0cd347f Mon Sep 17 00:00:00 2001 From: Manuel Morejon Date: Sun, 26 Jul 2020 00:24:58 +0200 Subject: [PATCH] Replace tk sync example by tk reconcile --- cmd/tk/main.go | 3 +++ docs/cmd/tk.md | 6 +++--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/cmd/tk/main.go b/cmd/tk/main.go index 4552e565..1e5a17ae 100644 --- a/cmd/tk/main.go +++ b/cmd/tk/main.go @@ -53,6 +53,9 @@ var rootCmd = &cobra.Command{ # List GitRepository sources and their status tk get sources git + # Trigger a GitRepository source reconciliation + tk reconcile source git gitops-system + # Export GitRepository sources in YAML format tk export source git --all > sources.yaml diff --git a/docs/cmd/tk.md b/docs/cmd/tk.md index b4dee787..b1fbf202 100644 --- a/docs/cmd/tk.md +++ b/docs/cmd/tk.md @@ -9,7 +9,7 @@ Command line utility for assembling Kubernetes CD pipelines the GitOps way. ### Examples ``` - # Check prerequisites + # Check prerequisites tk check --pre # Install the latest version of the toolkit @@ -24,8 +24,8 @@ Command line utility for assembling Kubernetes CD pipelines the GitOps way. # List GitRepository sources and their status tk get sources git - # Trigger a GitRepository source sync - tk sync source git webapp-latest + # Trigger a GitRepository source reconciliation + tk reconcile source git gitops-system # Export GitRepository sources in YAML format tk export source git --all > sources.yaml