mirror of https://github.com/fluxcd/flux2.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
44 lines
949 B
Markdown
44 lines
949 B
Markdown
---
|
|
title: "flux delete image policy command"
|
|
---
|
|
## flux delete image policy
|
|
|
|
Delete an ImagePolicy object
|
|
|
|
### Synopsis
|
|
|
|
The delete image policy command deletes the given ImagePolicy from the cluster.
|
|
|
|
```
|
|
flux delete image policy [name] [flags]
|
|
```
|
|
|
|
### Examples
|
|
|
|
```
|
|
# Delete an image policy
|
|
flux delete image policy alpine3.x
|
|
```
|
|
|
|
### Options
|
|
|
|
```
|
|
-h, --help help for policy
|
|
```
|
|
|
|
### Options inherited from parent commands
|
|
|
|
```
|
|
--context string kubernetes context to use
|
|
--kubeconfig string absolute path to the kubeconfig file
|
|
-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 image](../flux_delete_image/) - Delete image automation objects
|
|
|