mirror of
https://github.com/fluxcd/flux2.git
synced 2025-11-02 02:35:49 +08:00
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>
979 B
979 B
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 - Get image automation object status