1
0
mirror of synced 2026-03-30 20:56:56 +00:00

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>
This commit is contained in:
Michael Bridgen
2020-12-01 16:13:47 +00:00
parent 16f52610ab
commit b66bdec61a
38 changed files with 1756 additions and 10 deletions

30
docs/cmd/flux_get_auto.md Normal file
View File

@@ -0,0 +1,30 @@
## flux get auto
Get automation statuses
### Synopsis
The get auto sub-commands print the statuses of the automation objects.
### Options
```
-h, --help help for auto
```
### 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](flux_get.md) - Get sources and resources
* [flux get auto image-repository](flux_get_auto_image-repository.md) - Get ImageRepository statuses