Travis Mattera
b8a4a2f3ff
Changed reason to more broadly applicable message.
...
Signed-off-by: Travis Mattera <travis@mattera.io>
1 year ago
Travis Mattera
0ba9db560b
Sets the flux cli `suspend` command `--reason` flag to an empty string
...
as default and changes the flux resource suspend behavior to only apply
the suspend reason annotation when a non-empty reason is provided.
Signed-off-by: Travis Mattera <travis@mattera.io>
2 years ago
Travis Mattera
479fc3cd3b
Adds an optional `reason` cli flag to the `suspend` command that
...
accepts a reason for why the resource was suspended.
Defines the resource metadata annotation key that stores the reason for
the resource suspension.
Updates the suspend and resume resource patching to add or remove the
annotation holding the suspend reason.
Signed-off-by: Travis Mattera <travis@mattera.io>
2 years ago
Rishikesh Nair
3580d4ff85
Add examples for resuming/suspending multiple objects
...
Signed-off-by: Rishikesh Nair <alienware505@gmail.com>
2 years ago
Sanskar Jaiswal
97b064be13
add a preview note for all non-bootstrap commands
...
Signed-off-by: Sanskar Jaiswal <jaiswalsanskar078@gmail.com>
2 years ago
Kazuki Suda
254cc131ae
Add dynamic completion suppport
...
This commit adds dynamic completion support for the following commands
and flags:
- `flux delete ...` command
- `flux export ...` command
- `flux get ...` command
- `flux reconcile ...` command
- `flux resume ...` command
- `flux suspend ...` command
- `--namespace` flag
- `--context` flag
Signed-off-by: Kazuki Suda <kazuki.suda@gmail.com>
4 years ago
Somtochi Onyekwere
12a2100fcf
Adds suspend and resume all cmd
...
Signed-off-by: Somtochi Onyekwere <somtochionyekwere@gmail.com>
4 years ago
Somtochi Onyekwere
054a62fb30
Format go imports
...
Signed-off-by: Somtochi Onyekwere <somtochionyekwere@gmail.com>
4 years ago
Hidde Beydals
236ffd1767
Tidy up command descriptions
...
Rewordings and removal of superfluous newlines.
Signed-off-by: Hidde Beydals <hello@hidde.co>
4 years ago
Somtochi Onyekwere
ef579fe596
Refactor suspend commands
...
Signed-off-by: Somtochi Onyekwere <somtochionyekwere@gmail.com>
4 years ago
Somtochi Onyekwere
a7586e69fd
Refactor cmd global variables into structs
...
Signed-off-by: Somtochi Onyekwere <somtochionyekwere@gmail.com>
4 years ago
Sylvain Rabot
78d7dca985
Add a --context option
...
Signed-off-by: Sylvain Rabot <sylvain@abstraction.fr>
4 years ago
Hidde Beydals
0bf52f4746
Change `fluxcd/toolkit` to `fluxcd/flux2`
...
Signed-off-by: Hidde Beydals <hello@hidde.co>
4 years ago
Hidde Beydals
e2752e4508
Rename `gotk` binary to `flux`
...
Signed-off-by: Hidde Beydals <hello@hidde.co>
4 years ago