mirror of
https://github.com/fluxcd/flux2.git
synced 2026-02-17 21:21:51 +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>
44 lines
1 KiB
Markdown
44 lines
1 KiB
Markdown
## flux get auto image-repository
|
|
|
|
Get ImageRepository statuses
|
|
|
|
### Synopsis
|
|
|
|
The get auto image-repository command prints the status of ImageRepository objects.
|
|
|
|
```
|
|
flux get auto image-repository [flags]
|
|
```
|
|
|
|
### Examples
|
|
|
|
```
|
|
# List all image repositories and their status
|
|
flux get auto image-repository
|
|
|
|
# List image repositories from all namespaces
|
|
flux get auto image-repository --all-namespaces
|
|
|
|
```
|
|
|
|
### Options
|
|
|
|
```
|
|
-h, --help help for image-repository
|
|
```
|
|
|
|
### Options inherited from parent commands
|
|
|
|
```
|
|
-A, --all-namespaces list the requested object(s) across all namespaces
|
|
--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 get auto](flux_get_auto.md) - Get automation statuses
|
|
|