mirror of
https://github.com/fluxcd/flux2.git
synced 2026-02-16 20:51:47 +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>
920 B
920 B
flux suspend auto image-repository
Suspend reconciliation of an ImageRepository
Synopsis
The suspend command disables the reconciliation of a ImageRepository resource.
flux suspend auto image-repository [name] [flags]
Examples
# Suspend reconciliation for an existing ImageRepository
flux suspend auto image-repository alpine
Options
-h, --help help for image-repository
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 suspend auto - Suspend automation objects