mirror of
https://github.com/fluxcd/flux2.git
synced 2026-04-29 14:48:51 +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 suspendSourceOCIRepositoryCmd = &cobra.Command{
|
|||
Short: "Suspend reconciliation of an OCIRepository",
|
||||
Long: `The suspend command disables the reconciliation of an OCIRepository resource.`,
|
||||
Example: ` # Suspend reconciliation for an existing OCIRepository
|
||||
flux suspend source oci podinfo`,
|
||||
flux suspend source oci podinfo
|
||||
|
||||
# Suspend reconciliation for multiple OCIRepositories
|
||||
flux suspend source oci podinfo-1 podinfo-2`,
|
||||
ValidArgsFunction: resourceNamesCompletionFunc(sourcev1.GroupVersion.WithKind(sourcev1.OCIRepositoryKind)),
|
||||
RunE: suspendCommand{
|
||||
apiType: ociRepositoryType,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue