diff --git a/docs/cmd/tk.md b/docs/cmd/tk.md index d301a1e9..a45028bf 100644 --- a/docs/cmd/tk.md +++ b/docs/cmd/tk.md @@ -34,8 +34,7 @@ Command line utility for assembling Kubernetes CD pipelines the GitOps way. tk create kustomization webapp-dev \ --source=webapp-latest \ --path="./deploy/webapp/" \ - --prune="instance=webapp" \ - --generate=true \ + --prune=true \ --interval=5m \ --validate=client \ --health-check="Deployment/backend.webapp" \ @@ -90,4 +89,4 @@ Command line utility for assembling Kubernetes CD pipelines the GitOps way. * [tk sync](tk_sync.md) - Synchronize commands * [tk uninstall](tk_uninstall.md) - Uninstall the toolkit components -###### Auto generated by spf13/cobra on 1-May-2020 +###### Auto generated by spf13/cobra on 5-May-2020 diff --git a/docs/cmd/tk_check.md b/docs/cmd/tk_check.md index 54a7a0c1..778fe8e2 100644 --- a/docs/cmd/tk_check.md +++ b/docs/cmd/tk_check.md @@ -44,4 +44,4 @@ tk check [flags] * [tk](tk.md) - Command line utility for assembling Kubernetes CD pipelines -###### Auto generated by spf13/cobra on 1-May-2020 +###### Auto generated by spf13/cobra on 5-May-2020 diff --git a/docs/cmd/tk_completion.md b/docs/cmd/tk_completion.md index db509b83..5b75d31a 100644 --- a/docs/cmd/tk_completion.md +++ b/docs/cmd/tk_completion.md @@ -44,4 +44,4 @@ To configure your bash shell to load completions for each session add to your ba * [tk](tk.md) - Command line utility for assembling Kubernetes CD pipelines -###### Auto generated by spf13/cobra on 1-May-2020 +###### Auto generated by spf13/cobra on 5-May-2020 diff --git a/docs/cmd/tk_create.md b/docs/cmd/tk_create.md index 2dc7a8d9..1c1a88b3 100644 --- a/docs/cmd/tk_create.md +++ b/docs/cmd/tk_create.md @@ -29,4 +29,4 @@ Create commands * [tk create kustomization](tk_create_kustomization.md) - Create or update a kustomization resource * [tk create source](tk_create_source.md) - Create source commands -###### Auto generated by spf13/cobra on 1-May-2020 +###### Auto generated by spf13/cobra on 5-May-2020 diff --git a/docs/cmd/tk_create_kustomization.md b/docs/cmd/tk_create_kustomization.md index 2d8beb00..d174648a 100644 --- a/docs/cmd/tk_create_kustomization.md +++ b/docs/cmd/tk_create_kustomization.md @@ -19,8 +19,7 @@ tk create kustomization [name] [flags] create kustomization contour \ --source=contour \ --path="./examples/contour/" \ - --prune="instance=contour" \ - --generate=true \ + --prune=true \ --interval=10m \ --validate=client \ --health-check="Deployment/contour.projectcontour" \ @@ -32,22 +31,33 @@ tk create kustomization [name] [flags] --depends-on=contour \ --source=webapp \ --path="./deploy/overlays/dev" \ - --prune="env=dev,instance=webapp" \ + --prune=true \ --interval=5m \ --validate=client + # Create a kustomization that runs under a service account + create kustomization webapp \ + --source=webapp \ + --path="./deploy/overlays/staging" \ + --prune=true \ + --interval=5m \ + --validate=client \ + --sa-name=reconclier \ + --sa-namespace=staging + ``` ### Options ``` --depends-on stringArray kustomization that must be ready before this kustomization can be applied - --generate generate the kustomization.yaml for all the Kubernetes manifests in the specified path and sub-directories --health-check stringArray workload to be included in the health assessment, in the format '/.' --health-check-timeout duration timeout of health checking operations (default 2m0s) -h, --help help for kustomization --path string path to the directory containing the kustomization file (default "./") - --prune string label selector used for garbage collection + --prune enable garbage collection + --sa-name string service account name + --sa-namespace string service account namespace --source string GitRepository name --validate string validate the manifests before applying them on the cluster, can be 'client' or 'server' ``` @@ -67,4 +77,4 @@ tk create kustomization [name] [flags] * [tk create](tk_create.md) - Create commands -###### Auto generated by spf13/cobra on 1-May-2020 +###### Auto generated by spf13/cobra on 5-May-2020 diff --git a/docs/cmd/tk_create_source.md b/docs/cmd/tk_create_source.md index a6bdf6a1..4b235005 100644 --- a/docs/cmd/tk_create_source.md +++ b/docs/cmd/tk_create_source.md @@ -28,4 +28,4 @@ Create source commands * [tk create](tk_create.md) - Create commands * [tk create source git](tk_create_source_git.md) - Create or update a git source -###### Auto generated by spf13/cobra on 1-May-2020 +###### Auto generated by spf13/cobra on 5-May-2020 diff --git a/docs/cmd/tk_create_source_git.md b/docs/cmd/tk_create_source_git.md index 8f13fc7c..2239fe80 100644 --- a/docs/cmd/tk_create_source_git.md +++ b/docs/cmd/tk_create_source_git.md @@ -71,4 +71,4 @@ tk create source git [name] [flags] * [tk create source](tk_create_source.md) - Create source commands -###### Auto generated by spf13/cobra on 1-May-2020 +###### Auto generated by spf13/cobra on 5-May-2020 diff --git a/docs/cmd/tk_delete.md b/docs/cmd/tk_delete.md index 42ff8e30..15d4f0fc 100644 --- a/docs/cmd/tk_delete.md +++ b/docs/cmd/tk_delete.md @@ -29,4 +29,4 @@ Delete commands * [tk delete kustomization](tk_delete_kustomization.md) - Delete kustomization * [tk delete source](tk_delete_source.md) - Delete sources commands -###### Auto generated by spf13/cobra on 1-May-2020 +###### Auto generated by spf13/cobra on 5-May-2020 diff --git a/docs/cmd/tk_delete_kustomization.md b/docs/cmd/tk_delete_kustomization.md index 5a7bbb1f..fae3cb97 100644 --- a/docs/cmd/tk_delete_kustomization.md +++ b/docs/cmd/tk_delete_kustomization.md @@ -31,4 +31,4 @@ tk delete kustomization [name] [flags] * [tk delete](tk_delete.md) - Delete commands -###### Auto generated by spf13/cobra on 1-May-2020 +###### Auto generated by spf13/cobra on 5-May-2020 diff --git a/docs/cmd/tk_delete_source.md b/docs/cmd/tk_delete_source.md index a1834b17..3f48d586 100644 --- a/docs/cmd/tk_delete_source.md +++ b/docs/cmd/tk_delete_source.md @@ -28,4 +28,4 @@ Delete sources commands * [tk delete](tk_delete.md) - Delete commands * [tk delete source git](tk_delete_source_git.md) - Delete git source -###### Auto generated by spf13/cobra on 1-May-2020 +###### Auto generated by spf13/cobra on 5-May-2020 diff --git a/docs/cmd/tk_delete_source_git.md b/docs/cmd/tk_delete_source_git.md index 9194ffe9..07e00df0 100644 --- a/docs/cmd/tk_delete_source_git.md +++ b/docs/cmd/tk_delete_source_git.md @@ -31,4 +31,4 @@ tk delete source git [name] [flags] * [tk delete source](tk_delete_source.md) - Delete sources commands -###### Auto generated by spf13/cobra on 1-May-2020 +###### Auto generated by spf13/cobra on 5-May-2020 diff --git a/docs/cmd/tk_export.md b/docs/cmd/tk_export.md index e7c0f012..3cb7d970 100644 --- a/docs/cmd/tk_export.md +++ b/docs/cmd/tk_export.md @@ -29,4 +29,4 @@ Export commands * [tk export kustomization](tk_export_kustomization.md) - Export kustomization in YAML format * [tk export source](tk_export_source.md) - Export source commands -###### Auto generated by spf13/cobra on 1-May-2020 +###### Auto generated by spf13/cobra on 5-May-2020 diff --git a/docs/cmd/tk_export_kustomization.md b/docs/cmd/tk_export_kustomization.md index 74d30d83..f04f4bdb 100644 --- a/docs/cmd/tk_export_kustomization.md +++ b/docs/cmd/tk_export_kustomization.md @@ -42,4 +42,4 @@ tk export kustomization [name] [flags] * [tk export](tk_export.md) - Export commands -###### Auto generated by spf13/cobra on 1-May-2020 +###### Auto generated by spf13/cobra on 5-May-2020 diff --git a/docs/cmd/tk_export_source.md b/docs/cmd/tk_export_source.md index 228dc581..126a546c 100644 --- a/docs/cmd/tk_export_source.md +++ b/docs/cmd/tk_export_source.md @@ -29,4 +29,4 @@ Export source commands * [tk export](tk_export.md) - Export commands * [tk export source git](tk_export_source_git.md) - Export git sources in YAML format -###### Auto generated by spf13/cobra on 1-May-2020 +###### Auto generated by spf13/cobra on 5-May-2020 diff --git a/docs/cmd/tk_export_source_git.md b/docs/cmd/tk_export_source_git.md index f64c4d4c..c38d86e6 100644 --- a/docs/cmd/tk_export_source_git.md +++ b/docs/cmd/tk_export_source_git.md @@ -43,4 +43,4 @@ tk export source git [name] [flags] * [tk export source](tk_export_source.md) - Export source commands -###### Auto generated by spf13/cobra on 1-May-2020 +###### Auto generated by spf13/cobra on 5-May-2020 diff --git a/docs/cmd/tk_get.md b/docs/cmd/tk_get.md index 51d293df..5209fa64 100644 --- a/docs/cmd/tk_get.md +++ b/docs/cmd/tk_get.md @@ -28,4 +28,4 @@ Get commands * [tk get kustomizations](tk_get_kustomizations.md) - Get kustomizations status * [tk get sources](tk_get_sources.md) - Get sources commands -###### Auto generated by spf13/cobra on 1-May-2020 +###### Auto generated by spf13/cobra on 5-May-2020 diff --git a/docs/cmd/tk_get_kustomizations.md b/docs/cmd/tk_get_kustomizations.md index 3f454e74..8394c27c 100644 --- a/docs/cmd/tk_get_kustomizations.md +++ b/docs/cmd/tk_get_kustomizations.md @@ -31,4 +31,4 @@ tk get kustomizations [flags] * [tk get](tk_get.md) - Get commands -###### Auto generated by spf13/cobra on 1-May-2020 +###### Auto generated by spf13/cobra on 5-May-2020 diff --git a/docs/cmd/tk_get_sources.md b/docs/cmd/tk_get_sources.md index 911674b8..c29b0930 100644 --- a/docs/cmd/tk_get_sources.md +++ b/docs/cmd/tk_get_sources.md @@ -27,4 +27,4 @@ Get sources commands * [tk get](tk_get.md) - Get commands * [tk get sources git](tk_get_sources_git.md) - Get git sources status -###### Auto generated by spf13/cobra on 1-May-2020 +###### Auto generated by spf13/cobra on 5-May-2020 diff --git a/docs/cmd/tk_get_sources_git.md b/docs/cmd/tk_get_sources_git.md index 5691ade5..be514577 100644 --- a/docs/cmd/tk_get_sources_git.md +++ b/docs/cmd/tk_get_sources_git.md @@ -31,4 +31,4 @@ tk get sources git [flags] * [tk get sources](tk_get_sources.md) - Get sources commands -###### Auto generated by spf13/cobra on 1-May-2020 +###### Auto generated by spf13/cobra on 5-May-2020 diff --git a/docs/cmd/tk_install.md b/docs/cmd/tk_install.md index 53dc3bf6..76318c76 100644 --- a/docs/cmd/tk_install.md +++ b/docs/cmd/tk_install.md @@ -49,4 +49,4 @@ tk install [flags] * [tk](tk.md) - Command line utility for assembling Kubernetes CD pipelines -###### Auto generated by spf13/cobra on 1-May-2020 +###### Auto generated by spf13/cobra on 5-May-2020 diff --git a/docs/cmd/tk_resume.md b/docs/cmd/tk_resume.md index 75192317..5662caa2 100644 --- a/docs/cmd/tk_resume.md +++ b/docs/cmd/tk_resume.md @@ -27,4 +27,4 @@ Resume commands * [tk](tk.md) - Command line utility for assembling Kubernetes CD pipelines * [tk resume kustomization](tk_resume_kustomization.md) - Resume kustomization -###### Auto generated by spf13/cobra on 1-May-2020 +###### Auto generated by spf13/cobra on 5-May-2020 diff --git a/docs/cmd/tk_resume_kustomization.md b/docs/cmd/tk_resume_kustomization.md index 1d3430ef..c081538f 100644 --- a/docs/cmd/tk_resume_kustomization.md +++ b/docs/cmd/tk_resume_kustomization.md @@ -30,4 +30,4 @@ tk resume kustomization [name] [flags] * [tk resume](tk_resume.md) - Resume commands -###### Auto generated by spf13/cobra on 1-May-2020 +###### Auto generated by spf13/cobra on 5-May-2020 diff --git a/docs/cmd/tk_suspend.md b/docs/cmd/tk_suspend.md index 823af3d8..5079105a 100644 --- a/docs/cmd/tk_suspend.md +++ b/docs/cmd/tk_suspend.md @@ -27,4 +27,4 @@ Suspend commands * [tk](tk.md) - Command line utility for assembling Kubernetes CD pipelines * [tk suspend kustomization](tk_suspend_kustomization.md) - Suspend kustomization -###### Auto generated by spf13/cobra on 1-May-2020 +###### Auto generated by spf13/cobra on 5-May-2020 diff --git a/docs/cmd/tk_suspend_kustomization.md b/docs/cmd/tk_suspend_kustomization.md index 2e108dc0..72d905cb 100644 --- a/docs/cmd/tk_suspend_kustomization.md +++ b/docs/cmd/tk_suspend_kustomization.md @@ -30,4 +30,4 @@ tk suspend kustomization [name] [flags] * [tk suspend](tk_suspend.md) - Suspend commands -###### Auto generated by spf13/cobra on 1-May-2020 +###### Auto generated by spf13/cobra on 5-May-2020 diff --git a/docs/cmd/tk_sync.md b/docs/cmd/tk_sync.md index 5167d91a..724e631e 100644 --- a/docs/cmd/tk_sync.md +++ b/docs/cmd/tk_sync.md @@ -28,4 +28,4 @@ Synchronize commands * [tk sync kustomization](tk_sync_kustomization.md) - Synchronize kustomization * [tk sync source](tk_sync_source.md) - Synchronize source commands -###### Auto generated by spf13/cobra on 1-May-2020 +###### Auto generated by spf13/cobra on 5-May-2020 diff --git a/docs/cmd/tk_sync_kustomization.md b/docs/cmd/tk_sync_kustomization.md index 0d2ff3af..a3ac33c4 100644 --- a/docs/cmd/tk_sync_kustomization.md +++ b/docs/cmd/tk_sync_kustomization.md @@ -43,4 +43,4 @@ tk sync kustomization [name] [flags] * [tk sync](tk_sync.md) - Synchronize commands -###### Auto generated by spf13/cobra on 1-May-2020 +###### Auto generated by spf13/cobra on 5-May-2020 diff --git a/docs/cmd/tk_sync_source.md b/docs/cmd/tk_sync_source.md index 9b4662d5..0b511215 100644 --- a/docs/cmd/tk_sync_source.md +++ b/docs/cmd/tk_sync_source.md @@ -27,4 +27,4 @@ Synchronize source commands * [tk sync](tk_sync.md) - Synchronize commands * [tk sync source git](tk_sync_source_git.md) - Synchronize git source -###### Auto generated by spf13/cobra on 1-May-2020 +###### Auto generated by spf13/cobra on 5-May-2020 diff --git a/docs/cmd/tk_sync_source_git.md b/docs/cmd/tk_sync_source_git.md index 71803d34..8a4952b0 100644 --- a/docs/cmd/tk_sync_source_git.md +++ b/docs/cmd/tk_sync_source_git.md @@ -39,4 +39,4 @@ tk sync source git [name] [flags] * [tk sync source](tk_sync_source.md) - Synchronize source commands -###### Auto generated by spf13/cobra on 1-May-2020 +###### Auto generated by spf13/cobra on 5-May-2020 diff --git a/docs/cmd/tk_uninstall.md b/docs/cmd/tk_uninstall.md index 913e70d0..aace41c2 100644 --- a/docs/cmd/tk_uninstall.md +++ b/docs/cmd/tk_uninstall.md @@ -46,4 +46,4 @@ tk uninstall [flags] * [tk](tk.md) - Command line utility for assembling Kubernetes CD pipelines -###### Auto generated by spf13/cobra on 1-May-2020 +###### Auto generated by spf13/cobra on 5-May-2020