mirror of
https://github.com/fluxcd/flux2.git
synced 2026-05-03 00:28: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 suspendReceiverCmd = &cobra.Command{
|
|||
Short: "Suspend reconciliation of Receiver",
|
||||
Long: `The suspend command disables the reconciliation of a Receiver resource.`,
|
||||
Example: ` # Suspend reconciliation for an existing Receiver
|
||||
flux suspend receiver main`,
|
||||
flux suspend receiver main
|
||||
|
||||
# Suspend reconciliation for multiple Receivers
|
||||
flux suspend receiver main-1 main-2`,
|
||||
ValidArgsFunction: resourceNamesCompletionFunc(notificationv1.GroupVersion.WithKind(notificationv1.ReceiverKind)),
|
||||
RunE: suspendCommand{
|
||||
apiType: receiverType,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue