mirror of
https://github.com/fluxcd/flux2.git
synced 2026-04-29 06:38:50 +00:00
Add examples for resuming/suspending multiple objects
Signed-off-by: Rishikesh Nair <alienware505@gmail.com>
This commit is contained in:
parent
42607aadc3
commit
3580d4ff85
22 changed files with 88 additions and 22 deletions
|
|
@ -28,7 +28,10 @@ var suspendKsCmd = &cobra.Command{
|
|||
Short: "Suspend reconciliation of Kustomization",
|
||||
Long: `The suspend command disables the reconciliation of a Kustomization resource.`,
|
||||
Example: ` # Suspend reconciliation for an existing Kustomization
|
||||
flux suspend ks podinfo`,
|
||||
flux suspend ks podinfo
|
||||
|
||||
# Suspend reconciliation for multiple Kustomizations
|
||||
flux suspend ks podinfo-1 podinfo-2`,
|
||||
ValidArgsFunction: resourceNamesCompletionFunc(kustomizev1.GroupVersion.WithKind(kustomizev1.KustomizationKind)),
|
||||
RunE: suspendCommand{
|
||||
apiType: kustomizationType,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue