mirror of
https://github.com/fluxcd/flux2.git
synced 2026-04-11 22:50:04 +00:00
Add export option to tk install
This commit is contained in:
parent
b04abe989e
commit
499ba15004
2 changed files with 20 additions and 1 deletions
|
|
@ -23,6 +23,9 @@ tk install [flags]
|
|||
# Dry-run install with manifests preview
|
||||
tk install --dry-run --verbose
|
||||
|
||||
# Write install manifests to file
|
||||
tk install --export > gitops-system.yaml
|
||||
|
||||
```
|
||||
|
||||
### Options
|
||||
|
|
@ -30,6 +33,7 @@ tk install [flags]
|
|||
```
|
||||
--components strings list of components, accepts comma-separated values (default [source-controller,kustomize-controller,helm-controller,notification-controller])
|
||||
--dry-run only print the object that would be applied
|
||||
--export write the install manifests to stdout and exit
|
||||
-h, --help help for install
|
||||
--manifests string path to the manifest directory, dev only
|
||||
-v, --version string toolkit tag or branch (default "master")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue