diff --git a/docs/cmd/tk.md b/docs/cmd/tk.md index d301a1e96b9800c6bf7a6376f1c0b743d13f96cb..a45028bf6c9f61ab00d33e217de30e1ac5a3a0ca 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 54a7a0c130121bac1b7338aea00deae929d92d27..778fe8e295abe7ce0fa9b188b7c7111727750f18 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 db509b83a84529cce3cf68973058366f1a1478c8..5b75d31a5d6fb3df0694e92a4fe62909003bc311 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 2dc7a8d9cb5e9ff008b1652fc66c055cdb38b210..1c1a88b39f2904cc5a0b20a3c94aca23f5cba153 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 2d8beb0039c39a6ebb57ce80c7af410b28f47b63..d174648a433d12739891f4f186e553144d1520c7 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 '<kind>/<name>.<namespace>' --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 a6bdf6a186ed406aa512bf452897fc0362ab0da7..4b235005dc576b7bfb2707d07f0e2993419aae8a 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 8f13fc7c133463640314168c0b4a80b7030c0351..2239fe80368d37505604ba658582f0e2ff519966 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 42ff8e30739e6593dca6fd333e0a3299c6ccf77c..15d4f0fc29c325e31511adf136d933915976aa87 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 5a7bbb1f4856c50e7d6a6377fbe2fd89c2d9360c..fae3cb97e9f455db9d77583b15566d940deadbb5 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 a1834b17622f4b304028d5545cab8fa7391f0d7a..3f48d58645a67f984ef9dfd9b68ab7f0ecd8ba54 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 9194ffe902b7afa9d7754630d92d828db6b48012..07e00df0393d5df4ec5a7ddeb8ce182e339437a6 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 e7c0f012109ba7dd9d7d5a8f3e285181affc0e2c..3cb7d970c9486c7ad7f632a4c3e31fa86739840b 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 74d30d83e1088af4bce6d1faa2396a1431fdc3dc..f04f4bdbafa44b8b921e3ab385b9718b03eef279 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 228dc581ca193ae396fab891d236b6a049ca20ff..126a546cc7a38328701e82e11d43821aa0ad090f 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 f64c4d4cb8c0c07be3ec6a67ecb26215b98e0e1f..c38d86e63bd8e717dd25cc80abc252c3c723376a 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 51d293dff10e3e490b2d0d2c5ba17f73447616e4..5209fa6419ebcfb9204bf18ff6e2909b94b62263 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 3f454e74ad8ec82672e24622c69b4461df49312f..8394c27cf465409635d94d37d14597d6ba772dac 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 911674b841b1fee821cdd174e0afc576d6ff51c1..c29b0930a782f72c0df13d4ec9283653cc124bc4 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 5691ade5cbe571b61d20449c01bc2aa02559070d..be514577fd8b3b44a1183e3b0384338a0cfafb69 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 53dc3bf63a2bea79808cd6ca55a0e476a595ef7c..76318c761d843c7975c3ed81cc139af7ba8221fe 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 75192317d848f06c23b0f72cc0ed3280ca7af57c..5662caa220129852b30cb38a6776508d166bf153 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 1d3430ef72b82c73178516de306220931e7827aa..c081538fb12c62c3df9ec01897ef3959806568fc 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 823af3d8a088d48b2141a2582b98cb8254469ee6..5079105abe9ac0ed9d1f5391d3e1c8a23dbe011a 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 2e108dc0bf835a2f9cbb35e38505f8a259fb1324..72d905cb93194837967a9e7fffb42e158e8abdd2 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 5167d91a9140d8cb53278426fa8db05e9c87a46e..724e631e951c05ec066839f4eb0caac44c1240b4 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 0d2ff3af7d12b9c9d5bf2a60579f2e1dc7e11f4e..a3ac33c49a00e026ea70ff743affcc0cee1d4f66 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 9b4662d502cb6c5047a0ea8293490d189bbb1b48..0b5112152e4c554ad262e915ba71836a8a8a3ab3 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 71803d34388d1f7fa9711ce9336549091cb3d8f9..8a4952b0759d493bfccd5d223e50e01bcc9ca731 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 913e70d00050e73a06d768cce6685606a0f7067a..aace41c29efb43c041d37a2e0e1907c1815994fb 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