fluxcd-flux2/docs/cmd/flux_get_image_policy.md
Michael Bridgen 45240bdb71 Rename "auto" subcommands to "image"
This means all the sub-subcommands can drop the `image-` prefix,
making them shorter and more fluent.

E.g.,

    flux create image policy

rather than

    flux create auto image-policy

Signed-off-by: Michael Bridgen <michael@weave.works>
2020-12-11 16:34:18 +00:00

44 lines
979 B
Markdown

## flux get image policy
Get ImagePolicy status
### Synopsis
The get image policy command prints the status of ImagePolicy objects.
```
flux get image policy [flags]
```
### Examples
```
# List all image policies and their status
flux get image policy
# List image policies from all namespaces
flux get image policy --all-namespaces
```
### Options
```
-h, --help help for policy
```
### 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 image](flux_get_image.md) - Get image automation object status