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.
44 lines
977 B
Markdown
44 lines
977 B
Markdown
4 years ago
|
## flux export kustomization
|
||
5 years ago
|
|
||
5 years ago
|
Export Kustomization resources in YAML format
|
||
5 years ago
|
|
||
|
### Synopsis
|
||
|
|
||
5 years ago
|
The export kustomization command exports one or all Kustomization resources in YAML format.
|
||
5 years ago
|
|
||
|
```
|
||
4 years ago
|
flux export kustomization [name] [flags]
|
||
5 years ago
|
```
|
||
|
|
||
|
### Examples
|
||
|
|
||
|
```
|
||
5 years ago
|
# Export all Kustomization resources
|
||
4 years ago
|
flux export kustomization --all > kustomizations.yaml
|
||
5 years ago
|
|
||
5 years ago
|
# Export a Kustomization
|
||
4 years ago
|
flux export kustomization my-app > kustomization.yaml
|
||
5 years ago
|
|
||
|
```
|
||
|
|
||
|
### Options
|
||
|
|
||
|
```
|
||
|
-h, --help help for kustomization
|
||
|
```
|
||
|
|
||
|
### Options inherited from parent commands
|
||
|
|
||
|
```
|
||
5 years ago
|
--all select all resources
|
||
|
--kubeconfig string path to the kubeconfig file (default "~/.kube/config")
|
||
4 years ago
|
-n, --namespace string the namespace scope for this operation (default "flux-system")
|
||
5 years ago
|
--timeout duration timeout for this operation (default 5m0s)
|
||
|
--verbose print generated objects
|
||
5 years ago
|
```
|
||
|
|
||
|
### SEE ALSO
|
||
|
|
||
4 years ago
|
* [flux export](flux_export.md) - Export resources in YAML format
|
||
5 years ago
|
|