mirror of
https://github.com/fluxcd/flux2.git
synced 2026-04-18 09:45:44 +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 suspendSourceGitCmd = &cobra.Command{
|
|||
Short: "Suspend reconciliation of a GitRepository",
|
||||
Long: `The suspend command disables the reconciliation of a GitRepository resource.`,
|
||||
Example: ` # Suspend reconciliation for an existing GitRepository
|
||||
flux suspend source git podinfo`,
|
||||
flux suspend source git podinfo
|
||||
|
||||
# Suspend reconciliation for multiple GitRepositories
|
||||
flux suspend source git podinfo-1 podinfo-2`,
|
||||
ValidArgsFunction: resourceNamesCompletionFunc(sourcev1.GroupVersion.WithKind(sourcev1.GitRepositoryKind)),
|
||||
RunE: suspendCommand{
|
||||
apiType: gitRepositoryType,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue