mirror of
https://github.com/fluxcd/flux2.git
synced 2026-02-08 00:37:27 +00:00
Replace tk sync example by tk reconcile
This commit is contained in:
parent
d245ef9b39
commit
750830c302
2 changed files with 6 additions and 3 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue