Add get all command
Signed-off-by: Somtochi Onyekwere <somtochionyekwere@gmail.com>
This commit is contained in:
@@ -31,6 +31,7 @@ The get sub-commands print the statuses of Flux resources.
|
||||
* [flux](../flux/) - Command line utility for assembling Kubernetes CD pipelines
|
||||
* [flux get alert-providers](../flux_get_alert-providers/) - Get Provider statuses
|
||||
* [flux get alerts](../flux_get_alerts/) - Get Alert statuses
|
||||
* [flux get all](../flux_get_all/) - Get all resources and statuses
|
||||
* [flux get helmreleases](../flux_get_helmreleases/) - Get HelmRelease statuses
|
||||
* [flux get images](../flux_get_images/) - Get image automation object status
|
||||
* [flux get kustomizations](../flux_get_kustomizations/) - Get Kustomization statuses
|
||||
|
||||
46
docs/cmd/flux_get_all.md
Normal file
46
docs/cmd/flux_get_all.md
Normal file
@@ -0,0 +1,46 @@
|
||||
---
|
||||
title: "flux get all command"
|
||||
---
|
||||
## flux get all
|
||||
|
||||
Get all resources and statuses
|
||||
|
||||
### Synopsis
|
||||
|
||||
The get all command print the statuses of all resources.
|
||||
|
||||
```
|
||||
flux get all [flags]
|
||||
```
|
||||
|
||||
### Examples
|
||||
|
||||
```
|
||||
# List all resources in a namespace
|
||||
flux get all --namespace=flux-system
|
||||
|
||||
# List all resources in all namespaces
|
||||
flux get all --all-namespaces
|
||||
```
|
||||
|
||||
### Options
|
||||
|
||||
```
|
||||
-h, --help help for all
|
||||
```
|
||||
|
||||
### Options inherited from parent commands
|
||||
|
||||
```
|
||||
-A, --all-namespaces list the requested object(s) across all namespaces
|
||||
--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")
|
||||
--timeout duration timeout for this operation (default 5m0s)
|
||||
--verbose print generated objects
|
||||
```
|
||||
|
||||
### SEE ALSO
|
||||
|
||||
* [flux get](../flux_get/) - Get the resources and their status
|
||||
|
||||
Reference in New Issue
Block a user