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:
30
docs/cmd/flux_get_auto.md
Normal file
30
docs/cmd/flux_get_auto.md
Normal 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
|
||||
|
||||
Reference in New Issue
Block a user