1
0
mirror of synced 2026-03-19 17:26:55 +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

View File

@@ -0,0 +1,30 @@
## flux delete auto
Delete automation objects
### Synopsis
The delete auto sub-commands delete automation objects.
### Options
```
-h, --help help for auto
```
### 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")
-s, --silent delete resource without asking for confirmation
--timeout duration timeout for this operation (default 5m0s)
--verbose print generated objects
```
### SEE ALSO
* [flux delete](flux_delete.md) - Delete sources and resources
* [flux delete auto image-repository](flux_delete_auto_image-repository.md) - Delete an ImageRepository object