mirror of
https://github.com/fluxcd/flux2.git
synced 2026-02-09 01:07:27 +00:00
This adds the create subcommand, without attempting any refactoring. NB the TODO: the image/v1alpha1 API does not yet export a const for the name of the kind. The field `RunInterval` will likely be changed to `Interval` (with a value field), at some point, too. Signed-off-by: Michael Bridgen <michael@weave.works>
1.4 KiB
1.4 KiB
flux create auto
Create or update resources dealing with automation
Synopsis
The create auto sub-cmmands works with automation objects; that is, object controlling updates to git based on e.g., new container images being available.
Options
-h, --help help for auto
Options inherited from parent commands
--context string kubernetes context to use
--export export in YAML format to stdout
--interval duration source sync interval (default 1m0s)
--kubeconfig string path to the kubeconfig file (default "~/.kube/config")
--label strings set labels on the resource (can specify multiple labels with commas: label1=value1,label2=value2)
-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 create - Create or update sources and resources
- flux create auto image-policy - Create or update an ImagePolicy object
- flux create auto image-repository - Create or update an ImageRepository object
- flux create auto image-update - Create or update an ImageUpdateAutomation object