Merge pull request #66 from fluxcd/docs/cli-examples

Improve CLI command descriptions
pull/68/head
Hidde Beydals 5 years ago committed by GitHub
commit 1f99a75049
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -30,7 +30,7 @@ jobs:
- name: Check if working tree is dirty - name: Check if working tree is dirty
run: | run: |
if [[ $(git diff --stat) != '' ]]; then if [[ $(git diff --stat) != '' ]]; then
git diff --stat git diff
echo 'run make test and commit changes' echo 'run make test and commit changes'
exit 1 exit 1
fi fi

@ -40,7 +40,8 @@ import (
var bootstrapCmd = &cobra.Command{ var bootstrapCmd = &cobra.Command{
Use: "bootstrap", Use: "bootstrap",
Short: "Bootstrap commands", Short: "Bootstrap toolkit components",
Long: "The bootstrap sub-commands bootstrap the toolkit components on the targeted Git provider.",
} }
var ( var (

@ -32,11 +32,10 @@ import (
var bootstrapGitHubCmd = &cobra.Command{ var bootstrapGitHubCmd = &cobra.Command{
Use: "github", Use: "github",
Short: "Bootstrap GitHub repository", Short: "Bootstrap toolkit components in a GitHub repository",
Long: ` Long: `The bootstrap github command creates the GitHub repository if it doesn't exists and
The bootstrap command creates the GitHub repository if it doesn't exists and
commits the toolkit components manifests to the master branch. commits the toolkit components manifests to the master branch.
Then it configure the target cluster to synchronize with the repository. Then it configures the target cluster to synchronize with the repository.
If the toolkit components are present on the cluster, If the toolkit components are present on the cluster,
the bootstrap command will perform an upgrade if needed.`, the bootstrap command will perform an upgrade if needed.`,
Example: ` # Create a GitHub personal access token and export it as an env var Example: ` # Create a GitHub personal access token and export it as an env var

@ -32,11 +32,10 @@ import (
var bootstrapGitLabCmd = &cobra.Command{ var bootstrapGitLabCmd = &cobra.Command{
Use: "gitlab", Use: "gitlab",
Short: "Bootstrap GitLab repository", Short: "Bootstrap toolkit components in a GitLab repository",
Long: ` Long: `The bootstrap gitlab command creates the GitLab repository if it doesn't exists and
The bootstrap command creates the GitLab repository if it doesn't exists and
commits the toolkit components manifests to the master branch. commits the toolkit components manifests to the master branch.
Then it configure the target cluster to synchronize with the repository. Then it configures the target cluster to synchronize with the repository.
If the toolkit components are present on the cluster, If the toolkit components are present on the cluster,
the bootstrap command will perform an upgrade if needed.`, the bootstrap command will perform an upgrade if needed.`,
Example: ` # Create a GitLab API token and export it as an env var Example: ` # Create a GitLab API token and export it as an env var

@ -32,8 +32,7 @@ import (
var checkCmd = &cobra.Command{ var checkCmd = &cobra.Command{
Use: "check", Use: "check",
Short: "Check requirements and installation", Short: "Check requirements and installation",
Long: ` Long: `The check command will perform a series of checks to validate that
The check command will perform a series of checks to validate that
the local environment is configured correctly and if the installed components are healthy.`, the local environment is configured correctly and if the installed components are healthy.`,
Example: ` # Run pre-installation checks Example: ` # Run pre-installation checks
check --pre check --pre

@ -24,7 +24,8 @@ import (
var createCmd = &cobra.Command{ var createCmd = &cobra.Command{
Use: "create", Use: "create",
Short: "Create commands", Short: "Create or update sources and resources",
Long: "The create sub-commands generate sources and resources.",
} }
var ( var (
@ -34,6 +35,6 @@ var (
func init() { func init() {
createCmd.PersistentFlags().DurationVarP(&interval, "interval", "", time.Minute, "source sync interval") createCmd.PersistentFlags().DurationVarP(&interval, "interval", "", time.Minute, "source sync interval")
createCmd.PersistentFlags().BoolVar(&export, "export", false, "export in yaml format to stdout") createCmd.PersistentFlags().BoolVar(&export, "export", false, "export in YAML format to stdout")
rootCmd.AddCommand(createCmd) rootCmd.AddCommand(createCmd)
} }

@ -37,11 +37,9 @@ import (
var createKsCmd = &cobra.Command{ var createKsCmd = &cobra.Command{
Use: "kustomization [name]", Use: "kustomization [name]",
Aliases: []string{"ks"}, Aliases: []string{"ks"},
Short: "Create or update a kustomization resource", Short: "Create or update a Kustomization resource",
Long: ` Long: "The kustomization source create command generates a Kustomize resource for a given GitRepository source.",
The kustomization source command generates a kustomization.kustomize.fluxcd.io resource for a given GitRepository source. Example: ` # Create a Kustomization resource from a source at a given path
API spec: https://github.com/fluxcd/kustomize-controller/tree/master/docs/spec/v1alpha1`,
Example: ` # Create a kustomization from a source at a given path
create kustomization contour \ create kustomization contour \
--source=contour \ --source=contour \
--path="./examples/contour/" \ --path="./examples/contour/" \
@ -52,7 +50,7 @@ API spec: https://github.com/fluxcd/kustomize-controller/tree/master/docs/spec/v
--health-check="DaemonSet/envoy.projectcontour" \ --health-check="DaemonSet/envoy.projectcontour" \
--health-check-timeout=3m --health-check-timeout=3m
# Create a kustomization that depends on the previous one # Create a Kustomization resource that depends on the previous one
create kustomization webapp \ create kustomization webapp \
--depends-on=contour \ --depends-on=contour \
--source=webapp \ --source=webapp \
@ -61,7 +59,7 @@ API spec: https://github.com/fluxcd/kustomize-controller/tree/master/docs/spec/v
--interval=5m \ --interval=5m \
--validate=client --validate=client
# Create a kustomization that runs under a service account # Create a Kustomization resource that runs under a service account
create kustomization webapp \ create kustomization webapp \
--source=webapp \ --source=webapp \
--path="./deploy/overlays/staging" \ --path="./deploy/overlays/staging" \
@ -88,12 +86,12 @@ var (
func init() { func init() {
createKsCmd.Flags().StringVar(&ksSource, "source", "", "GitRepository name") createKsCmd.Flags().StringVar(&ksSource, "source", "", "GitRepository name")
createKsCmd.Flags().StringVar(&ksPath, "path", "./", "path to the directory containing the kustomization file") createKsCmd.Flags().StringVar(&ksPath, "path", "./", "path to the directory containing the Kustomization file")
createKsCmd.Flags().BoolVar(&ksPrune, "prune", false, "enable garbage collection") createKsCmd.Flags().BoolVar(&ksPrune, "prune", false, "enable garbage collection")
createKsCmd.Flags().StringArrayVar(&ksHealthCheck, "health-check", nil, "workload to be included in the health assessment, in the format '<kind>/<name>.<namespace>'") createKsCmd.Flags().StringArrayVar(&ksHealthCheck, "health-check", nil, "workload to be included in the health assessment, in the format '<kind>/<name>.<namespace>'")
createKsCmd.Flags().DurationVar(&ksHealthTimeout, "health-check-timeout", 2*time.Minute, "timeout of health checking operations") createKsCmd.Flags().DurationVar(&ksHealthTimeout, "health-check-timeout", 2*time.Minute, "timeout of health checking operations")
createKsCmd.Flags().StringVar(&ksValidate, "validate", "", "validate the manifests before applying them on the cluster, can be 'client' or 'server'") createKsCmd.Flags().StringVar(&ksValidate, "validate", "", "validate the manifests before applying them on the cluster, can be 'client' or 'server'")
createKsCmd.Flags().StringArrayVar(&ksDependsOn, "depends-on", nil, "kustomization that must be ready before this kustomization can be applied") createKsCmd.Flags().StringArrayVar(&ksDependsOn, "depends-on", nil, "Kustomization that must be ready before this Kustomization can be applied")
createKsCmd.Flags().StringVar(&ksSAName, "sa-name", "", "service account name") createKsCmd.Flags().StringVar(&ksSAName, "sa-name", "", "service account name")
createKsCmd.Flags().StringVar(&ksSANamespace, "sa-namespace", "", "service account namespace") createKsCmd.Flags().StringVar(&ksSANamespace, "sa-namespace", "", "service account namespace")
createCmd.AddCommand(createKsCmd) createCmd.AddCommand(createKsCmd)

@ -22,7 +22,8 @@ import (
var createSourceCmd = &cobra.Command{ var createSourceCmd = &cobra.Command{
Use: "source", Use: "source",
Short: "Create source commands", Short: "Create or update sources",
Long: "The create source sub-commands generate sources.",
} }
func init() { func init() {

@ -40,9 +40,9 @@ import (
var createSourceGitCmd = &cobra.Command{ var createSourceGitCmd = &cobra.Command{
Use: "git [name]", Use: "git [name]",
Short: "Create or update a git source", Short: "Create or update a GitRepository source",
Long: ` Long: `
The create source command generates a GitRepository resource and waits for it to sync. The create source git command generates a GitRepository resource and waits for it to sync.
For Git over SSH, host and SSH keys are automatically generated and stored in a Kubernetes secret. For Git over SSH, host and SSH keys are automatically generated and stored in a Kubernetes secret.
For private Git repositories, the basic authentication credentials are stored in a Kubernetes secret.`, For private Git repositories, the basic authentication credentials are stored in a Kubernetes secret.`,
Example: ` # Create a source from a public Git repository master branch Example: ` # Create a source from a public Git repository master branch

@ -22,7 +22,8 @@ import (
var deleteCmd = &cobra.Command{ var deleteCmd = &cobra.Command{
Use: "delete", Use: "delete",
Short: "Delete commands", Short: "Delete sources and resources",
Long: "The delete sub-commands delete sources and resources.",
} }
var ( var (

@ -29,7 +29,8 @@ import (
var deleteKsCmd = &cobra.Command{ var deleteKsCmd = &cobra.Command{
Use: "kustomization [name]", Use: "kustomization [name]",
Aliases: []string{"ks"}, Aliases: []string{"ks"},
Short: "Delete kustomization", Short: "Delete a Kustomization resource",
Long: "The delete kustomization command deletes the given Kustomization from the cluster.",
RunE: deleteKsCmdRun, RunE: deleteKsCmdRun,
} }

@ -22,7 +22,8 @@ import (
var deleteSourceCmd = &cobra.Command{ var deleteSourceCmd = &cobra.Command{
Use: "source", Use: "source",
Short: "Delete sources commands", Short: "Delete sources",
Long: "The delete source sub-commands delete sources.",
} }
func init() { func init() {

@ -28,7 +28,8 @@ import (
var deleteSourceGitCmd = &cobra.Command{ var deleteSourceGitCmd = &cobra.Command{
Use: "git [name]", Use: "git [name]",
Short: "Delete git source", Short: "Delete a GitRepository source",
Long: "The delete source git command deletes the given GitRepository from the cluster.",
RunE: deleteSourceGitCmdRun, RunE: deleteSourceGitCmdRun,
} }

@ -22,7 +22,8 @@ import (
var exportCmd = &cobra.Command{ var exportCmd = &cobra.Command{
Use: "export", Use: "export",
Short: "Export commands", Short: "Export resources in YAML format",
Long: "The export sub-commands export resources in YAML format.",
} }
var ( var (

@ -31,11 +31,12 @@ import (
var exportKsCmd = &cobra.Command{ var exportKsCmd = &cobra.Command{
Use: "kustomization [name]", Use: "kustomization [name]",
Aliases: []string{"ks"}, Aliases: []string{"ks"},
Short: "Export kustomization in YAML format", Short: "Export Kustomization resources in YAML format",
Example: ` # Export all kustomizations Long: "The export kustomization command exports one or all Kustomization resources in YAML format.",
Example: ` # Export all Kustomization resources
export kustomization --all > kustomizations.yaml export kustomization --all > kustomizations.yaml
# Export a kustomization # Export a Kustomization
export kustomization my-app > kustomization.yaml export kustomization my-app > kustomization.yaml
`, `,
RunE: exportKsCmdRun, RunE: exportKsCmdRun,

@ -22,7 +22,8 @@ import (
var exportSourceCmd = &cobra.Command{ var exportSourceCmd = &cobra.Command{
Use: "source", Use: "source",
Short: "Export source commands", Short: "Export sources",
Long: "The export source sub-commands export sources in YAML format.",
} }
var ( var (

@ -31,11 +31,12 @@ import (
var exportSourceGitCmd = &cobra.Command{ var exportSourceGitCmd = &cobra.Command{
Use: "git [name]", Use: "git [name]",
Short: "Export git sources in YAML format", Short: "Export GitRepository sources in YAML format",
Example: ` # Export all git sources Long: "The export source git command exports on or all GitRepository sources in YAML format.",
Example: ` # Export all GitRepository sources
export source git --all > sources.yaml export source git --all > sources.yaml
# Export a git source including the SSH keys or basic auth credentials # Export a GitRepository source including the SSH key pair or basic auth credentials
export source git my-private-repo --with-credentials > source.yaml export source git my-private-repo --with-credentials > source.yaml
`, `,
RunE: exportSourceGitCmdRun, RunE: exportSourceGitCmdRun,

@ -22,7 +22,8 @@ import (
var getCmd = &cobra.Command{ var getCmd = &cobra.Command{
Use: "get", Use: "get",
Short: "Get commands", Short: "Get sources and resources",
Long: "The get sub-commands print the statuses of sources and resources.",
} }
func init() { func init() {

@ -28,10 +28,9 @@ import (
var getKsCmd = &cobra.Command{ var getKsCmd = &cobra.Command{
Use: "kustomizations", Use: "kustomizations",
Aliases: []string{"ks"}, Aliases: []string{"ks"},
Short: "Get kustomizations status", Short: "Get Kustomization source statuses",
Long: ` Long: "The get kustomizations command prints the statuses of the resources.",
The get kustomizations command prints the status of the resources.`, RunE: getKsCmdRun,
RunE: getKsCmdRun,
} }
func init() { func init() {

@ -22,7 +22,8 @@ import (
var getSourceCmd = &cobra.Command{ var getSourceCmd = &cobra.Command{
Use: "sources", Use: "sources",
Short: "Get sources commands", Short: "Get source statuses",
Long: "The get source sub-commands print the statuses of the sources.",
} }
func init() { func init() {

@ -27,10 +27,9 @@ import (
var getSourceGitCmd = &cobra.Command{ var getSourceGitCmd = &cobra.Command{
Use: "git", Use: "git",
Short: "Get git sources status", Short: "Get GitRepository source statuses",
Long: ` Long: "The get sources git command prints the status of the GitRepository sources.",
The get sources command prints the status of the git resources.`, RunE: getSourceGitCmdRun,
RunE: getSourceGitCmdRun,
} }
func init() { func init() {

@ -33,8 +33,7 @@ import (
var installCmd = &cobra.Command{ var installCmd = &cobra.Command{
Use: "install", Use: "install",
Short: "Install the toolkit components", Short: "Install the toolkit components",
Long: ` Long: `The install command deploys the toolkit components in the specified namespace.
The install command deploys the toolkit components in the specified namespace.
If a previous version is installed, then an in-place upgrade will be performed.`, If a previous version is installed, then an in-place upgrade will be performed.`,
Example: ` # Install the latest version in the gitops-systems namespace Example: ` # Install the latest version in the gitops-systems namespace
install --version=master --namespace=gitops-systems install --version=master --namespace=gitops-systems

@ -48,16 +48,16 @@ var rootCmd = &cobra.Command{
--branch=master \ --branch=master \
--interval=3m --interval=3m
# List git sources and their status # List GitRepository sources and their status
tk get sources git tk get sources git
# Trigger a git sync # Trigger a GitRepository source sync
tk sync source git webapp-latest tk sync source git webapp-latest
# Export git sources in YAML format # Export GitRepository sources in YAML format
tk export source git --all > sources.yaml tk export source git --all > sources.yaml
# Create a kustomization for deploying a series of microservices # Create a Kustomization for deploying a series of microservices
tk create kustomization webapp-dev \ tk create kustomization webapp-dev \
--source=webapp-latest \ --source=webapp-latest \
--path="./deploy/webapp/" \ --path="./deploy/webapp/" \
@ -68,22 +68,22 @@ var rootCmd = &cobra.Command{
--health-check="Deployment/frontend.webapp" \ --health-check="Deployment/frontend.webapp" \
--health-check-timeout=2m --health-check-timeout=2m
# Trigger a git sync and apply changes if any # Trigger a git sync of the Kustomization's source and apply changes
tk sync kustomization webapp-dev --with-source tk sync kustomization webapp-dev --with-source
# Suspend a kustomization reconciliation # Suspend a Kustomization reconciliation
tk suspend kustomization webapp-dev tk suspend kustomization webapp-dev
# Export kustomizations in YAML format # Export Kustomizations in YAML format
tk export kustomization --all > kustomizations.yaml tk export kustomization --all > kustomizations.yaml
# Resume a kustomization reconciliation # Resume a Kustomization reconciliation
tk resume kustomization webapp-dev tk resume kustomization webapp-dev
# Delete a kustomization # Delete a Kustomization
tk delete kustomization webapp-dev tk delete kustomization webapp-dev
# Delete a git source # Delete a GitRepository source
tk delete source git webapp-latest tk delete source git webapp-latest
# Uninstall the toolkit and delete CRDs # Uninstall the toolkit and delete CRDs

@ -22,7 +22,8 @@ import (
var resumeCmd = &cobra.Command{ var resumeCmd = &cobra.Command{
Use: "resume", Use: "resume",
Short: "Resume commands", Short: "Resume suspended resources",
Long: "The resume sub-commands resume a suspended resource.",
} }
func init() { func init() {

@ -32,9 +32,10 @@ import (
var resumeKsCmd = &cobra.Command{ var resumeKsCmd = &cobra.Command{
Use: "kustomization [name]", Use: "kustomization [name]",
Aliases: []string{"ks"}, Aliases: []string{"ks"},
Short: "Resume kustomization", Short: "Resume a suspended Kustomization",
Long: "The resume command marks a previously suspended Kustomization resource for reconciliation and waits for it to finish the apply.", Long: `The resume command marks a previously suspended Kustomization resource for reconciliation and waits for it to
RunE: resumeKsCmdRun, finish the apply.`,
RunE: resumeKsCmdRun,
} }
func init() { func init() {

@ -22,7 +22,8 @@ import (
var suspendCmd = &cobra.Command{ var suspendCmd = &cobra.Command{
Use: "suspend", Use: "suspend",
Short: "Suspend commands", Short: "Suspend resources",
Long: "The suspend sub-commands suspend the reconciliation of a resource.",
} }
func init() { func init() {

@ -27,7 +27,7 @@ import (
var suspendKsCmd = &cobra.Command{ var suspendKsCmd = &cobra.Command{
Use: "kustomization [name]", Use: "kustomization [name]",
Aliases: []string{"ks"}, Aliases: []string{"ks"},
Short: "Suspend kustomization", Short: "Suspend reconciliation of Kustomization",
Long: "The suspend command disables the reconciliation of a Kustomization resource.", Long: "The suspend command disables the reconciliation of a Kustomization resource.",
RunE: suspendKsCmdRun, RunE: suspendKsCmdRun,
} }

@ -22,7 +22,8 @@ import (
var syncCmd = &cobra.Command{ var syncCmd = &cobra.Command{
Use: "sync", Use: "sync",
Short: "Synchronize commands", Short: "Synchronize sources and resources",
Long: "The sync sub-commands trigger a reconciliation of sources and resources.",
} }
func init() { func init() {

@ -30,13 +30,13 @@ import (
var syncKsCmd = &cobra.Command{ var syncKsCmd = &cobra.Command{
Use: "kustomization [name]", Use: "kustomization [name]",
Aliases: []string{"ks"}, Aliases: []string{"ks"},
Short: "Synchronize kustomization", Short: "Synchronize a Kustomization resource",
Long: ` Long: `
The sync kustomization command triggers a reconciliation of a Kustomization resource and waits for it to finish.`, The sync kustomization command triggers a reconciliation of a Kustomization resource and waits for it to finish.`,
Example: ` # Trigger a kustomization apply outside of the reconciliation interval Example: ` # Trigger a Kustomization apply outside of the reconciliation interval
sync kustomization podinfo sync kustomization podinfo
# Trigger a git sync of the kustomization source and apply changes # Trigger a sync of the Kustomization's source and apply changes
sync kustomization podinfo --with-source sync kustomization podinfo --with-source
`, `,
RunE: syncKsCmdRun, RunE: syncKsCmdRun,

@ -22,7 +22,8 @@ import (
var syncSourceCmd = &cobra.Command{ var syncSourceCmd = &cobra.Command{
Use: "source", Use: "source",
Short: "Synchronize source commands", Short: "Synchronize sources",
Long: "The sync source sub-commands trigger a reconciliation of sources.",
} }
func init() { func init() {

@ -28,9 +28,8 @@ import (
var syncSourceGitCmd = &cobra.Command{ var syncSourceGitCmd = &cobra.Command{
Use: "git [name]", Use: "git [name]",
Short: "Synchronize git source", Short: "Synchronize a GitRepository source",
Long: ` Long: `The sync source command triggers a reconciliation of a GitRepository resource and waits for it to finish.`,
The sync source command triggers a reconciliation of a GitRepository resource and waits for it to finish.`,
Example: ` # Trigger a git pull for an existing source Example: ` # Trigger a git pull for an existing source
sync source git podinfo sync source git podinfo
`, `,

@ -28,9 +28,7 @@ import (
var uninstallCmd = &cobra.Command{ var uninstallCmd = &cobra.Command{
Use: "uninstall", Use: "uninstall",
Short: "Uninstall the toolkit components", Short: "Uninstall the toolkit components",
Long: ` Long: "The uninstall command removes the namespace, cluster roles, cluster role bindings and CRDs from the cluster.",
The uninstall command removes the namespace, cluster roles,
cluster role bindings and CRDs.`,
Example: ` # Dry-run uninstall of all components Example: ` # Dry-run uninstall of all components
uninstall --dry-run --namespace=gitops-system uninstall --dry-run --namespace=gitops-system
@ -49,7 +47,7 @@ var (
func init() { func init() {
uninstallCmd.Flags().BoolVarP(&uninstallKustomizations, "kustomizations", "", false, uninstallCmd.Flags().BoolVarP(&uninstallKustomizations, "kustomizations", "", false,
"removes all kustomizations previously installed") "removes all Kustomizations previously installed")
uninstallCmd.Flags().BoolVarP(&uninstallCRDs, "crds", "", false, uninstallCmd.Flags().BoolVarP(&uninstallCRDs, "crds", "", false,
"removes all CRDs previously installed") "removes all CRDs previously installed")
uninstallCmd.Flags().BoolVarP(&uninstallDryRun, "dry-run", "", false, uninstallCmd.Flags().BoolVarP(&uninstallDryRun, "dry-run", "", false,

@ -21,16 +21,16 @@ Command line utility for assembling Kubernetes CD pipelines the GitOps way.
--branch=master \ --branch=master \
--interval=3m --interval=3m
# List git sources and their status # List GitRepository sources and their status
tk get sources git tk get sources git
# Trigger a git sync # Trigger a GitRepository source sync
tk sync source git webapp-latest tk sync source git webapp-latest
# Export git sources in YAML format # Export GitRepository sources in YAML format
tk export source git --all > sources.yaml tk export source git --all > sources.yaml
# Create a kustomization for deploying a series of microservices # Create a Kustomization for deploying a series of microservices
tk create kustomization webapp-dev \ tk create kustomization webapp-dev \
--source=webapp-latest \ --source=webapp-latest \
--path="./deploy/webapp/" \ --path="./deploy/webapp/" \
@ -41,22 +41,22 @@ Command line utility for assembling Kubernetes CD pipelines the GitOps way.
--health-check="Deployment/frontend.webapp" \ --health-check="Deployment/frontend.webapp" \
--health-check-timeout=2m --health-check-timeout=2m
# Trigger a git sync and apply changes if any # Trigger a git sync of the Kustomization's source and apply changes
tk sync kustomization webapp-dev --with-source tk sync kustomization webapp-dev --with-source
# Suspend a kustomization reconciliation # Suspend a Kustomization reconciliation
tk suspend kustomization webapp-dev tk suspend kustomization webapp-dev
# Export kustomizations in YAML format # Export Kustomizations in YAML format
tk export kustomization --all > kustomizations.yaml tk export kustomization --all > kustomizations.yaml
# Resume a kustomization reconciliation # Resume a Kustomization reconciliation
tk resume kustomization webapp-dev tk resume kustomization webapp-dev
# Delete a kustomization # Delete a Kustomization
tk delete kustomization webapp-dev tk delete kustomization webapp-dev
# Delete a git source # Delete a GitRepository source
tk delete source git webapp-latest tk delete source git webapp-latest
# Uninstall the toolkit and delete CRDs # Uninstall the toolkit and delete CRDs
@ -77,16 +77,16 @@ Command line utility for assembling Kubernetes CD pipelines the GitOps way.
### SEE ALSO ### SEE ALSO
* [tk bootstrap](tk_bootstrap.md) - Bootstrap commands * [tk bootstrap](tk_bootstrap.md) - Bootstrap toolkit components
* [tk check](tk_check.md) - Check requirements and installation * [tk check](tk_check.md) - Check requirements and installation
* [tk completion](tk_completion.md) - Generates bash completion scripts * [tk completion](tk_completion.md) - Generates bash completion scripts
* [tk create](tk_create.md) - Create commands * [tk create](tk_create.md) - Create or update sources and resources
* [tk delete](tk_delete.md) - Delete commands * [tk delete](tk_delete.md) - Delete sources and resources
* [tk export](tk_export.md) - Export commands * [tk export](tk_export.md) - Export resources in YAML format
* [tk get](tk_get.md) - Get commands * [tk get](tk_get.md) - Get sources and resources
* [tk install](tk_install.md) - Install the toolkit components * [tk install](tk_install.md) - Install the toolkit components
* [tk resume](tk_resume.md) - Resume commands * [tk resume](tk_resume.md) - Resume suspended resources
* [tk suspend](tk_suspend.md) - Suspend commands * [tk suspend](tk_suspend.md) - Suspend resources
* [tk sync](tk_sync.md) - Synchronize commands * [tk sync](tk_sync.md) - Synchronize sources and resources
* [tk uninstall](tk_uninstall.md) - Uninstall the toolkit components * [tk uninstall](tk_uninstall.md) - Uninstall the toolkit components

@ -1,10 +1,10 @@
## tk bootstrap ## tk bootstrap
Bootstrap commands Bootstrap toolkit components
### Synopsis ### Synopsis
Bootstrap commands The bootstrap sub-commands bootstrap the toolkit components on the targeted Git provider.
### Options ### Options
@ -26,6 +26,6 @@ Bootstrap commands
### SEE ALSO ### SEE ALSO
* [tk](tk.md) - Command line utility for assembling Kubernetes CD pipelines * [tk](tk.md) - Command line utility for assembling Kubernetes CD pipelines
* [tk bootstrap github](tk_bootstrap_github.md) - Bootstrap GitHub repository * [tk bootstrap github](tk_bootstrap_github.md) - Bootstrap toolkit components in a GitHub repository
* [tk bootstrap gitlab](tk_bootstrap_gitlab.md) - Bootstrap GitLab repository * [tk bootstrap gitlab](tk_bootstrap_gitlab.md) - Bootstrap toolkit components in a GitLab repository

@ -1,13 +1,12 @@
## tk bootstrap github ## tk bootstrap github
Bootstrap GitHub repository Bootstrap toolkit components in a GitHub repository
### Synopsis ### Synopsis
The bootstrap github command creates the GitHub repository if it doesn't exists and
The bootstrap command creates the GitHub repository if it doesn't exists and
commits the toolkit components manifests to the master branch. commits the toolkit components manifests to the master branch.
Then it configure the target cluster to synchronize with the repository. Then it configures the target cluster to synchronize with the repository.
If the toolkit components are present on the cluster, If the toolkit components are present on the cluster,
the bootstrap command will perform an upgrade if needed. the bootstrap command will perform an upgrade if needed.
@ -65,5 +64,5 @@ tk bootstrap github [flags]
### SEE ALSO ### SEE ALSO
* [tk bootstrap](tk_bootstrap.md) - Bootstrap commands * [tk bootstrap](tk_bootstrap.md) - Bootstrap toolkit components

@ -1,13 +1,12 @@
## tk bootstrap gitlab ## tk bootstrap gitlab
Bootstrap GitLab repository Bootstrap toolkit components in a GitLab repository
### Synopsis ### Synopsis
The bootstrap gitlab command creates the GitLab repository if it doesn't exists and
The bootstrap command creates the GitLab repository if it doesn't exists and
commits the toolkit components manifests to the master branch. commits the toolkit components manifests to the master branch.
Then it configure the target cluster to synchronize with the repository. Then it configures the target cluster to synchronize with the repository.
If the toolkit components are present on the cluster, If the toolkit components are present on the cluster,
the bootstrap command will perform an upgrade if needed. the bootstrap command will perform an upgrade if needed.
@ -61,5 +60,5 @@ tk bootstrap gitlab [flags]
### SEE ALSO ### SEE ALSO
* [tk bootstrap](tk_bootstrap.md) - Bootstrap commands * [tk bootstrap](tk_bootstrap.md) - Bootstrap toolkit components

@ -4,7 +4,6 @@ Check requirements and installation
### Synopsis ### Synopsis
The check command will perform a series of checks to validate that The check command will perform a series of checks to validate that
the local environment is configured correctly and if the installed components are healthy. the local environment is configured correctly and if the installed components are healthy.

@ -1,15 +1,15 @@
## tk create ## tk create
Create commands Create or update sources and resources
### Synopsis ### Synopsis
Create commands The create sub-commands generate sources and resources.
### Options ### Options
``` ```
--export export in yaml format to stdout --export export in YAML format to stdout
-h, --help help for create -h, --help help for create
--interval duration source sync interval (default 1m0s) --interval duration source sync interval (default 1m0s)
``` ```
@ -27,6 +27,6 @@ Create commands
### SEE ALSO ### SEE ALSO
* [tk](tk.md) - Command line utility for assembling Kubernetes CD pipelines * [tk](tk.md) - Command line utility for assembling Kubernetes CD pipelines
* [tk create kustomization](tk_create_kustomization.md) - Create or update a kustomization resource * [tk create kustomization](tk_create_kustomization.md) - Create or update a Kustomization resource
* [tk create source](tk_create_source.md) - Create source commands * [tk create source](tk_create_source.md) - Create or update sources

@ -1,12 +1,10 @@
## tk create kustomization ## tk create kustomization
Create or update a kustomization resource Create or update a Kustomization resource
### Synopsis ### Synopsis
The kustomization source create command generates a Kustomize resource for a given GitRepository source.
The kustomization source command generates a kustomization.kustomize.fluxcd.io resource for a given GitRepository source.
API spec: https://github.com/fluxcd/kustomize-controller/tree/master/docs/spec/v1alpha1
``` ```
tk create kustomization [name] [flags] tk create kustomization [name] [flags]
@ -15,7 +13,7 @@ tk create kustomization [name] [flags]
### Examples ### Examples
``` ```
# Create a kustomization from a source at a given path # Create a Kustomization resource from a source at a given path
create kustomization contour \ create kustomization contour \
--source=contour \ --source=contour \
--path="./examples/contour/" \ --path="./examples/contour/" \
@ -26,7 +24,7 @@ tk create kustomization [name] [flags]
--health-check="DaemonSet/envoy.projectcontour" \ --health-check="DaemonSet/envoy.projectcontour" \
--health-check-timeout=3m --health-check-timeout=3m
# Create a kustomization that depends on the previous one # Create a Kustomization resource that depends on the previous one
create kustomization webapp \ create kustomization webapp \
--depends-on=contour \ --depends-on=contour \
--source=webapp \ --source=webapp \
@ -35,7 +33,7 @@ tk create kustomization [name] [flags]
--interval=5m \ --interval=5m \
--validate=client --validate=client
# Create a kustomization that runs under a service account # Create a Kustomization resource that runs under a service account
create kustomization webapp \ create kustomization webapp \
--source=webapp \ --source=webapp \
--path="./deploy/overlays/staging" \ --path="./deploy/overlays/staging" \
@ -50,11 +48,11 @@ tk create kustomization [name] [flags]
### Options ### Options
``` ```
--depends-on stringArray kustomization that must be ready before this kustomization can be applied --depends-on stringArray Kustomization that must be ready before this Kustomization can be applied
--health-check stringArray workload to be included in the health assessment, in the format '<kind>/<name>.<namespace>' --health-check stringArray workload to be included in the health assessment, in the format '<kind>/<name>.<namespace>'
--health-check-timeout duration timeout of health checking operations (default 2m0s) --health-check-timeout duration timeout of health checking operations (default 2m0s)
-h, --help help for kustomization -h, --help help for kustomization
--path string path to the directory containing the kustomization file (default "./") --path string path to the directory containing the Kustomization file (default "./")
--prune enable garbage collection --prune enable garbage collection
--sa-name string service account name --sa-name string service account name
--sa-namespace string service account namespace --sa-namespace string service account namespace
@ -66,7 +64,7 @@ tk create kustomization [name] [flags]
``` ```
--components strings list of components, accepts comma-separated values (default [source-controller,kustomize-controller]) --components strings list of components, accepts comma-separated values (default [source-controller,kustomize-controller])
--export export in yaml format to stdout --export export in YAML format to stdout
--interval duration source sync interval (default 1m0s) --interval duration source sync interval (default 1m0s)
--kubeconfig string path to the kubeconfig file (default "~/.kube/config") --kubeconfig string path to the kubeconfig file (default "~/.kube/config")
--namespace string the namespace scope for this operation (default "gitops-system") --namespace string the namespace scope for this operation (default "gitops-system")
@ -76,5 +74,5 @@ tk create kustomization [name] [flags]
### SEE ALSO ### SEE ALSO
* [tk create](tk_create.md) - Create commands * [tk create](tk_create.md) - Create or update sources and resources

@ -1,10 +1,10 @@
## tk create source ## tk create source
Create source commands Create or update sources
### Synopsis ### Synopsis
Create source commands The create source sub-commands generate sources.
### Options ### Options
@ -16,7 +16,7 @@ Create source commands
``` ```
--components strings list of components, accepts comma-separated values (default [source-controller,kustomize-controller]) --components strings list of components, accepts comma-separated values (default [source-controller,kustomize-controller])
--export export in yaml format to stdout --export export in YAML format to stdout
--interval duration source sync interval (default 1m0s) --interval duration source sync interval (default 1m0s)
--kubeconfig string path to the kubeconfig file (default "~/.kube/config") --kubeconfig string path to the kubeconfig file (default "~/.kube/config")
--namespace string the namespace scope for this operation (default "gitops-system") --namespace string the namespace scope for this operation (default "gitops-system")
@ -26,6 +26,6 @@ Create source commands
### SEE ALSO ### SEE ALSO
* [tk create](tk_create.md) - Create commands * [tk create](tk_create.md) - Create or update sources and resources
* [tk create source git](tk_create_source_git.md) - Create or update a git source * [tk create source git](tk_create_source_git.md) - Create or update a GitRepository source

@ -1,11 +1,11 @@
## tk create source git ## tk create source git
Create or update a git source Create or update a GitRepository source
### Synopsis ### Synopsis
The create source command generates a GitRepository resource and waits for it to sync. The create source git command generates a GitRepository resource and waits for it to sync.
For Git over SSH, host and SSH keys are automatically generated and stored in a Kubernetes secret. For Git over SSH, host and SSH keys are automatically generated and stored in a Kubernetes secret.
For private Git repositories, the basic authentication credentials are stored in a Kubernetes secret. For private Git repositories, the basic authentication credentials are stored in a Kubernetes secret.
@ -71,7 +71,7 @@ tk create source git [name] [flags]
``` ```
--components strings list of components, accepts comma-separated values (default [source-controller,kustomize-controller]) --components strings list of components, accepts comma-separated values (default [source-controller,kustomize-controller])
--export export in yaml format to stdout --export export in YAML format to stdout
--interval duration source sync interval (default 1m0s) --interval duration source sync interval (default 1m0s)
--kubeconfig string path to the kubeconfig file (default "~/.kube/config") --kubeconfig string path to the kubeconfig file (default "~/.kube/config")
--namespace string the namespace scope for this operation (default "gitops-system") --namespace string the namespace scope for this operation (default "gitops-system")
@ -81,5 +81,5 @@ tk create source git [name] [flags]
### SEE ALSO ### SEE ALSO
* [tk create source](tk_create_source.md) - Create source commands * [tk create source](tk_create_source.md) - Create or update sources

@ -1,10 +1,10 @@
## tk delete ## tk delete
Delete commands Delete sources and resources
### Synopsis ### Synopsis
Delete commands The delete sub-commands delete sources and resources.
### Options ### Options
@ -26,6 +26,6 @@ Delete commands
### SEE ALSO ### SEE ALSO
* [tk](tk.md) - Command line utility for assembling Kubernetes CD pipelines * [tk](tk.md) - Command line utility for assembling Kubernetes CD pipelines
* [tk delete kustomization](tk_delete_kustomization.md) - Delete kustomization * [tk delete kustomization](tk_delete_kustomization.md) - Delete a Kustomization resource
* [tk delete source](tk_delete_source.md) - Delete sources commands * [tk delete source](tk_delete_source.md) - Delete sources

@ -1,10 +1,10 @@
## tk delete kustomization ## tk delete kustomization
Delete kustomization Delete a Kustomization resource
### Synopsis ### Synopsis
Delete kustomization The delete kustomization command deletes the given Kustomization from the cluster.
``` ```
tk delete kustomization [name] [flags] tk delete kustomization [name] [flags]
@ -29,5 +29,5 @@ tk delete kustomization [name] [flags]
### SEE ALSO ### SEE ALSO
* [tk delete](tk_delete.md) - Delete commands * [tk delete](tk_delete.md) - Delete sources and resources

@ -1,10 +1,10 @@
## tk delete source ## tk delete source
Delete sources commands Delete sources
### Synopsis ### Synopsis
Delete sources commands The delete source sub-commands delete sources.
### Options ### Options
@ -25,6 +25,6 @@ Delete sources commands
### SEE ALSO ### SEE ALSO
* [tk delete](tk_delete.md) - Delete commands * [tk delete](tk_delete.md) - Delete sources and resources
* [tk delete source git](tk_delete_source_git.md) - Delete git source * [tk delete source git](tk_delete_source_git.md) - Delete a GitRepository source

@ -1,10 +1,10 @@
## tk delete source git ## tk delete source git
Delete git source Delete a GitRepository source
### Synopsis ### Synopsis
Delete git source The delete source git command deletes the given GitRepository from the cluster.
``` ```
tk delete source git [name] [flags] tk delete source git [name] [flags]
@ -29,5 +29,5 @@ tk delete source git [name] [flags]
### SEE ALSO ### SEE ALSO
* [tk delete source](tk_delete_source.md) - Delete sources commands * [tk delete source](tk_delete_source.md) - Delete sources

@ -1,10 +1,10 @@
## tk export ## tk export
Export commands Export resources in YAML format
### Synopsis ### Synopsis
Export commands The export sub-commands export resources in YAML format.
### Options ### Options
@ -26,6 +26,6 @@ Export commands
### SEE ALSO ### SEE ALSO
* [tk](tk.md) - Command line utility for assembling Kubernetes CD pipelines * [tk](tk.md) - Command line utility for assembling Kubernetes CD pipelines
* [tk export kustomization](tk_export_kustomization.md) - Export kustomization in YAML format * [tk export kustomization](tk_export_kustomization.md) - Export Kustomization resources in YAML format
* [tk export source](tk_export_source.md) - Export source commands * [tk export source](tk_export_source.md) - Export sources

@ -1,10 +1,10 @@
## tk export kustomization ## tk export kustomization
Export kustomization in YAML format Export Kustomization resources in YAML format
### Synopsis ### Synopsis
Export kustomization in YAML format The export kustomization command exports one or all Kustomization resources in YAML format.
``` ```
tk export kustomization [name] [flags] tk export kustomization [name] [flags]
@ -13,10 +13,10 @@ tk export kustomization [name] [flags]
### Examples ### Examples
``` ```
# Export all kustomizations # Export all Kustomization resources
export kustomization --all > kustomizations.yaml export kustomization --all > kustomizations.yaml
# Export a kustomization # Export a Kustomization
export kustomization my-app > kustomization.yaml export kustomization my-app > kustomization.yaml
``` ```
@ -40,5 +40,5 @@ tk export kustomization [name] [flags]
### SEE ALSO ### SEE ALSO
* [tk export](tk_export.md) - Export commands * [tk export](tk_export.md) - Export resources in YAML format

@ -1,10 +1,10 @@
## tk export source ## tk export source
Export source commands Export sources
### Synopsis ### Synopsis
Export source commands The export source sub-commands export sources in YAML format.
### Options ### Options
@ -26,6 +26,6 @@ Export source commands
### SEE ALSO ### SEE ALSO
* [tk export](tk_export.md) - Export commands * [tk export](tk_export.md) - Export resources in YAML format
* [tk export source git](tk_export_source_git.md) - Export git sources in YAML format * [tk export source git](tk_export_source_git.md) - Export GitRepository sources in YAML format

@ -1,10 +1,10 @@
## tk export source git ## tk export source git
Export git sources in YAML format Export GitRepository sources in YAML format
### Synopsis ### Synopsis
Export git sources in YAML format The export source git command exports on or all GitRepository sources in YAML format.
``` ```
tk export source git [name] [flags] tk export source git [name] [flags]
@ -13,10 +13,10 @@ tk export source git [name] [flags]
### Examples ### Examples
``` ```
# Export all git sources # Export all GitRepository sources
export source git --all > sources.yaml export source git --all > sources.yaml
# Export a git source including the SSH keys or basic auth credentials # Export a GitRepository source including the SSH key pair or basic auth credentials
export source git my-private-repo --with-credentials > source.yaml export source git my-private-repo --with-credentials > source.yaml
``` ```
@ -41,5 +41,5 @@ tk export source git [name] [flags]
### SEE ALSO ### SEE ALSO
* [tk export source](tk_export_source.md) - Export source commands * [tk export source](tk_export_source.md) - Export sources

@ -1,10 +1,10 @@
## tk get ## tk get
Get commands Get sources and resources
### Synopsis ### Synopsis
Get commands The get sub-commands print the statuses of sources and resources.
### Options ### Options
@ -25,6 +25,6 @@ Get commands
### SEE ALSO ### SEE ALSO
* [tk](tk.md) - Command line utility for assembling Kubernetes CD pipelines * [tk](tk.md) - Command line utility for assembling Kubernetes CD pipelines
* [tk get kustomizations](tk_get_kustomizations.md) - Get kustomizations status * [tk get kustomizations](tk_get_kustomizations.md) - Get Kustomization source statuses
* [tk get sources](tk_get_sources.md) - Get sources commands * [tk get sources](tk_get_sources.md) - Get source statuses

@ -1,11 +1,10 @@
## tk get kustomizations ## tk get kustomizations
Get kustomizations status Get Kustomization source statuses
### Synopsis ### Synopsis
The get kustomizations command prints the statuses of the resources.
The get kustomizations command prints the status of the resources.
``` ```
tk get kustomizations [flags] tk get kustomizations [flags]
@ -29,5 +28,5 @@ tk get kustomizations [flags]
### SEE ALSO ### SEE ALSO
* [tk get](tk_get.md) - Get commands * [tk get](tk_get.md) - Get sources and resources

@ -1,10 +1,10 @@
## tk get sources ## tk get sources
Get sources commands Get source statuses
### Synopsis ### Synopsis
Get sources commands The get source sub-commands print the statuses of the sources.
### Options ### Options
@ -24,6 +24,6 @@ Get sources commands
### SEE ALSO ### SEE ALSO
* [tk get](tk_get.md) - Get commands * [tk get](tk_get.md) - Get sources and resources
* [tk get sources git](tk_get_sources_git.md) - Get git sources status * [tk get sources git](tk_get_sources_git.md) - Get GitRepository source statuses

@ -1,11 +1,10 @@
## tk get sources git ## tk get sources git
Get git sources status Get GitRepository source statuses
### Synopsis ### Synopsis
The get sources git command prints the status of the GitRepository sources.
The get sources command prints the status of the git resources.
``` ```
tk get sources git [flags] tk get sources git [flags]
@ -29,5 +28,5 @@ tk get sources git [flags]
### SEE ALSO ### SEE ALSO
* [tk get sources](tk_get_sources.md) - Get sources commands * [tk get sources](tk_get_sources.md) - Get source statuses

@ -4,7 +4,6 @@ Install the toolkit components
### Synopsis ### Synopsis
The install command deploys the toolkit components in the specified namespace. The install command deploys the toolkit components in the specified namespace.
If a previous version is installed, then an in-place upgrade will be performed. If a previous version is installed, then an in-place upgrade will be performed.

@ -1,10 +1,10 @@
## tk resume ## tk resume
Resume commands Resume suspended resources
### Synopsis ### Synopsis
Resume commands The resume sub-commands resume a suspended resource.
### Options ### Options
@ -25,5 +25,5 @@ Resume commands
### SEE ALSO ### SEE ALSO
* [tk](tk.md) - Command line utility for assembling Kubernetes CD pipelines * [tk](tk.md) - Command line utility for assembling Kubernetes CD pipelines
* [tk resume kustomization](tk_resume_kustomization.md) - Resume kustomization * [tk resume kustomization](tk_resume_kustomization.md) - Resume a suspended Kustomization

@ -1,10 +1,11 @@
## tk resume kustomization ## tk resume kustomization
Resume kustomization Resume a suspended Kustomization
### Synopsis ### Synopsis
The resume command marks a previously suspended Kustomization resource for reconciliation and waits for it to finish the apply. The resume command marks a previously suspended Kustomization resource for reconciliation and waits for it to
finish the apply.
``` ```
tk resume kustomization [name] [flags] tk resume kustomization [name] [flags]
@ -28,5 +29,5 @@ tk resume kustomization [name] [flags]
### SEE ALSO ### SEE ALSO
* [tk resume](tk_resume.md) - Resume commands * [tk resume](tk_resume.md) - Resume suspended resources

@ -1,10 +1,10 @@
## tk suspend ## tk suspend
Suspend commands Suspend resources
### Synopsis ### Synopsis
Suspend commands The suspend sub-commands suspend the reconciliation of a resource.
### Options ### Options
@ -25,5 +25,5 @@ Suspend commands
### SEE ALSO ### SEE ALSO
* [tk](tk.md) - Command line utility for assembling Kubernetes CD pipelines * [tk](tk.md) - Command line utility for assembling Kubernetes CD pipelines
* [tk suspend kustomization](tk_suspend_kustomization.md) - Suspend kustomization * [tk suspend kustomization](tk_suspend_kustomization.md) - Suspend reconciliation of Kustomization

@ -1,6 +1,6 @@
## tk suspend kustomization ## tk suspend kustomization
Suspend kustomization Suspend reconciliation of Kustomization
### Synopsis ### Synopsis
@ -28,5 +28,5 @@ tk suspend kustomization [name] [flags]
### SEE ALSO ### SEE ALSO
* [tk suspend](tk_suspend.md) - Suspend commands * [tk suspend](tk_suspend.md) - Suspend resources

@ -1,10 +1,10 @@
## tk sync ## tk sync
Synchronize commands Synchronize sources and resources
### Synopsis ### Synopsis
Synchronize commands The sync sub-commands trigger a reconciliation of sources and resources.
### Options ### Options
@ -25,6 +25,6 @@ Synchronize commands
### SEE ALSO ### SEE ALSO
* [tk](tk.md) - Command line utility for assembling Kubernetes CD pipelines * [tk](tk.md) - Command line utility for assembling Kubernetes CD pipelines
* [tk sync kustomization](tk_sync_kustomization.md) - Synchronize kustomization * [tk sync kustomization](tk_sync_kustomization.md) - Synchronize a Kustomization resource
* [tk sync source](tk_sync_source.md) - Synchronize source commands * [tk sync source](tk_sync_source.md) - Synchronize sources

@ -1,6 +1,6 @@
## tk sync kustomization ## tk sync kustomization
Synchronize kustomization Synchronize a Kustomization resource
### Synopsis ### Synopsis
@ -14,10 +14,10 @@ tk sync kustomization [name] [flags]
### Examples ### Examples
``` ```
# Trigger a kustomization apply outside of the reconciliation interval # Trigger a Kustomization apply outside of the reconciliation interval
sync kustomization podinfo sync kustomization podinfo
# Trigger a git sync of the kustomization source and apply changes # Trigger a sync of the Kustomization's source and apply changes
sync kustomization podinfo --with-source sync kustomization podinfo --with-source
``` ```
@ -41,5 +41,5 @@ tk sync kustomization [name] [flags]
### SEE ALSO ### SEE ALSO
* [tk sync](tk_sync.md) - Synchronize commands * [tk sync](tk_sync.md) - Synchronize sources and resources

@ -1,10 +1,10 @@
## tk sync source ## tk sync source
Synchronize source commands Synchronize sources
### Synopsis ### Synopsis
Synchronize source commands The sync source sub-commands trigger a reconciliation of sources.
### Options ### Options
@ -24,6 +24,6 @@ Synchronize source commands
### SEE ALSO ### SEE ALSO
* [tk sync](tk_sync.md) - Synchronize commands * [tk sync](tk_sync.md) - Synchronize sources and resources
* [tk sync source git](tk_sync_source_git.md) - Synchronize git source * [tk sync source git](tk_sync_source_git.md) - Synchronize a GitRepository source

@ -1,10 +1,9 @@
## tk sync source git ## tk sync source git
Synchronize git source Synchronize a GitRepository source
### Synopsis ### Synopsis
The sync source command triggers a reconciliation of a GitRepository resource and waits for it to finish. The sync source command triggers a reconciliation of a GitRepository resource and waits for it to finish.
``` ```
@ -37,5 +36,5 @@ tk sync source git [name] [flags]
### SEE ALSO ### SEE ALSO
* [tk sync source](tk_sync_source.md) - Synchronize source commands * [tk sync source](tk_sync_source.md) - Synchronize sources

@ -4,9 +4,7 @@ Uninstall the toolkit components
### Synopsis ### Synopsis
The uninstall command removes the namespace, cluster roles, cluster role bindings and CRDs from the cluster.
The uninstall command removes the namespace, cluster roles,
cluster role bindings and CRDs.
``` ```
tk uninstall [flags] tk uninstall [flags]
@ -29,7 +27,7 @@ tk uninstall [flags]
--crds removes all CRDs previously installed --crds removes all CRDs previously installed
--dry-run only print the object that would be deleted --dry-run only print the object that would be deleted
-h, --help help for uninstall -h, --help help for uninstall
--kustomizations removes all kustomizations previously installed --kustomizations removes all Kustomizations previously installed
-s, --silent delete components without asking for confirmation -s, --silent delete components without asking for confirmation
``` ```

Loading…
Cancel
Save