Add examples for resuming/suspending multiple objects
Signed-off-by: Rishikesh Nair <alienware505@gmail.com>
This commit is contained in:
@@ -27,7 +27,10 @@ var suspendImageRepositoryCmd = &cobra.Command{
|
||||
Short: "Suspend reconciliation of an ImageRepository",
|
||||
Long: `The suspend image repository command disables the reconciliation of a ImageRepository resource.`,
|
||||
Example: ` # Suspend reconciliation for an existing ImageRepository
|
||||
flux suspend image repository alpine`,
|
||||
flux suspend image repository alpine
|
||||
|
||||
# Suspend reconciliation for multiple ImageRepositories
|
||||
flux suspend image repository alpine-1 alpine-2`,
|
||||
ValidArgsFunction: resourceNamesCompletionFunc(imagev1.GroupVersion.WithKind(imagev1.ImageRepositoryKind)),
|
||||
RunE: suspendCommand{
|
||||
apiType: imageRepositoryType,
|
||||
|
||||
Reference in New Issue
Block a user