fluxcd-flux2/docs/cmd/flux_reconcile_auto_image-repository.md
Michael Bridgen b66bdec61a Add subcommands for image-repository
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>
2020-12-11 16:34:14 +00:00

40 lines
960 B
Markdown

## 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](flux_reconcile_auto.md) - Reconcile automation objects