mirror of https://github.com/fluxcd/flux2.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
46 lines
1.0 KiB
Markdown
46 lines
1.0 KiB
Markdown
5 years ago
|
## tk export kustomization
|
||
|
|
||
|
Export kustomization in YAML format
|
||
|
|
||
|
### Synopsis
|
||
|
|
||
|
Export kustomization in YAML format
|
||
|
|
||
|
```
|
||
|
tk export kustomization [name] [flags]
|
||
|
```
|
||
|
|
||
|
### Examples
|
||
|
|
||
|
```
|
||
|
# Export all kustomizations
|
||
|
export kustomization --all > kustomizations.yaml
|
||
|
|
||
|
# Export a kustomization
|
||
|
export kustomization my-app > kustomization.yaml
|
||
|
|
||
|
```
|
||
|
|
||
|
### Options
|
||
|
|
||
|
```
|
||
|
-h, --help help for kustomization
|
||
|
```
|
||
|
|
||
|
### Options inherited from parent commands
|
||
|
|
||
|
```
|
||
|
--all select all resources
|
||
|
--components strings list of components, accepts comma-separated values (default [source-controller,kustomize-controller])
|
||
|
--kubeconfig string path to the kubeconfig file (default "~/.kube/config")
|
||
|
--namespace string the namespace scope for this operation (default "gitops-system")
|
||
|
--timeout duration timeout for this operation (default 5m0s)
|
||
|
--verbose print generated objects
|
||
|
```
|
||
|
|
||
|
### SEE ALSO
|
||
|
|
||
|
* [tk export](tk_export.md) - Export commands
|
||
|
|
||
|
###### Auto generated by spf13/cobra on 30-Apr-2020
|