1
0
mirror of synced 2026-02-06 10:55:56 +00:00

Add get all command

Signed-off-by: Somtochi Onyekwere <somtochionyekwere@gmail.com>
This commit is contained in:
Somtochi Onyekwere
2021-04-16 12:15:25 +01:00
parent 7bb0704401
commit 951589e652
6 changed files with 186 additions and 42 deletions

View File

@@ -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
View 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