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:
34
docs/cmd/flux_create_auto.md
Normal file
34
docs/cmd/flux_create_auto.md
Normal file
@@ -0,0 +1,34 @@
|
||||
## flux create auto
|
||||
|
||||
Create or update resources dealing with automation
|
||||
|
||||
### Synopsis
|
||||
|
||||
The create auto sub-cmmands works with automation objects; that is,
|
||||
object controlling updates to git based on e.g., new container images
|
||||
being available.
|
||||
|
||||
### Options
|
||||
|
||||
```
|
||||
-h, --help help for auto
|
||||
```
|
||||
|
||||
### Options inherited from parent commands
|
||||
|
||||
```
|
||||
--context string kubernetes context to use
|
||||
--export export in YAML format to stdout
|
||||
--interval duration source sync interval (default 1m0s)
|
||||
--kubeconfig string path to the kubeconfig file (default "~/.kube/config")
|
||||
--label strings set labels on the resource (can specify multiple labels with commas: label1=value1,label2=value2)
|
||||
-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 create](flux_create.md) - Create or update sources and resources
|
||||
* [flux create auto image-repository](flux_create_auto_image-repository.md) - Create or update an ImageRepository object
|
||||
|
||||
Reference in New Issue
Block a user