mirror of
https://github.com/fluxcd/flux2.git
synced 2026-05-01 07: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
|
|
@ -27,7 +27,10 @@ var suspendImageUpdateCmd = &cobra.Command{
|
|||
Short: "Suspend reconciliation of an ImageUpdateAutomation",
|
||||
Long: `The suspend image update command disables the reconciliation of a ImageUpdateAutomation resource.`,
|
||||
Example: ` # Suspend reconciliation for an existing ImageUpdateAutomation
|
||||
flux suspend image update latest-images`,
|
||||
flux suspend image update latest-images
|
||||
|
||||
# Suspend reconciliation for multiple ImageUpdateAutomations
|
||||
flux suspend image update latest-images-1 latest-images-2`,
|
||||
ValidArgsFunction: resourceNamesCompletionFunc(autov1.GroupVersion.WithKind(autov1.ImageUpdateAutomationKind)),
|
||||
RunE: suspendCommand{
|
||||
apiType: imageUpdateAutomationType,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue