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

Add examples for resuming/suspending multiple objects

Signed-off-by: Rishikesh Nair <alienware505@gmail.com>
This commit is contained in:
Rishikesh Nair
2023-06-29 12:50:38 +05:30
parent 42607aadc3
commit 3580d4ff85
22 changed files with 88 additions and 22 deletions

View File

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