-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Add plugins for argo-rollouts (#2711)
Signed-off-by: Luca Mattiello <[email protected]>
- Loading branch information
Showing
1 changed file
with
51 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
# Manage argo-rollouts | ||
# See https://argoproj.github.io/argo-rollouts/ | ||
# <g> Get rollout details | ||
# <w> Watch rollout progress | ||
# <p> (with confirmation) Promote rollout | ||
# <r> (with confirmation) Restart rollout | ||
plugins: | ||
argo-rollouts-get: | ||
shortCut: g | ||
confirm: false | ||
description: Get details | ||
scopes: | ||
- rollouts | ||
command: bash | ||
background: false | ||
args: | ||
- -c | ||
- kubectl argo rollouts get rollout $NAME --context $CONTEXT -n $NAMESPACE |& less | ||
argo-rollouts-watch: | ||
shortCut: w | ||
confirm: false | ||
description: Watch progress | ||
scopes: | ||
- rollouts | ||
command: bash | ||
background: false | ||
args: | ||
- -c | ||
- kubectl argo rollouts get rollout $NAME --context $CONTEXT -n $NAMESPACE -w |& less | ||
argo-rollouts-promote: | ||
shortCut: p | ||
confirm: true | ||
description: Promote | ||
scopes: | ||
- rollouts | ||
command: bash | ||
background: false | ||
args: | ||
- -c | ||
- kubectl argo rollouts promote $NAME --context $CONTEXT -n $NAMESPACE |& less | ||
argo-rollouts-restart: | ||
shortCut: r | ||
confirm: true | ||
description: Restart | ||
scopes: | ||
- rollouts | ||
command: bash | ||
background: false | ||
args: | ||
- -c | ||
- kubectl argo rollouts restart $NAME --context $CONTEXT -n $NAMESPACE |& less |