mirror of
https://github.com/fluxcd/flux2.git
synced 2026-02-09 17:27:28 +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>
964 B
964 B
flux delete auto image-repository
Delete an ImageRepository object
Synopsis
The delete auto image-repository command deletes the given ImageRepository from the cluster.
flux delete auto image-repository [name] [flags]
Examples
# Delete an image repository
flux delete auto image-repository alpine
Options
-h, --help help for image-repository
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 auto - Delete automation objects