mirror of
https://github.com/fluxcd/flux2.git
synced 2026-02-09 09:17:27 +00:00
This adds all the standard subcommands for the ImageRepository type. Following `source`, I have put them under a namespace: `auto`, referring to automation. NB For `create` I use controllerutil.CreateOrUpdate, which looks to me like a slightly more rounded version of the upsert* funcs. Signed-off-by: Michael Bridgen <michael@weave.works>
1.3 KiB
1.3 KiB
flux export
Export resources in YAML format
Synopsis
The export sub-commands export resources in YAML format.
Options
--all select all resources
-h, --help help for export
Options inherited from parent commands
--context string kubernetes context to use
--kubeconfig string path to the kubeconfig file (default "~/.kube/config")
-n, --namespace string the namespace scope for this operation (default "flux-system")
--timeout duration timeout for this operation (default 5m0s)
--verbose print generated objects
SEE ALSO
- flux - Command line utility for assembling Kubernetes CD pipelines
- flux export alert - Export Alert resources in YAML format
- flux export alert-provider - Export Provider resources in YAML format
- flux export auto - Export automation objects
- flux export helmrelease - Export HelmRelease resources in YAML format
- flux export kustomization - Export Kustomization resources in YAML format
- flux export receiver - Export Receiver resources in YAML format
- flux export source - Export sources