mirror of
https://github.com/fluxcd/flux2.git
synced 2026-02-18 13:41:49 +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>
960 B
960 B
flux reconcile auto image-repository
Reconcile an ImageRepository
Synopsis
The reconcile auto image-repository command triggers a reconciliation of an ImageRepository resource and waits for it to finish.
flux reconcile auto image-repository [name] [flags]
Examples
# Trigger an scan for an existing image repository
flux reconcile 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 reconcile auto - Reconcile automation objects