Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add plugins for argo-rollouts #2711

Merged
merged 1 commit into from
May 25, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
51 changes: 51 additions & 0 deletions plugins/argo-rollouts.yaml
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