Skip to content

Commit

Permalink
Adding Argo Rollouts plugin version for PowerShell (#2937)
Browse files Browse the repository at this point in the history
* Update argo-rollouts.yaml with commented version for PowerShell

* Update argo-rollouts.yaml

* Moving Plugin - Argo Rollouts for Powershell - to separate file
  • Loading branch information
dmealo authored Nov 3, 2024
1 parent 12ea38a commit baa4ea5
Showing 1 changed file with 86 additions and 0 deletions.
86 changes: 86 additions & 0 deletions plugins/argo-rollouts-powershell.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,86 @@
# Manage argo-rollouts from PowerShell
# 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: powershell
background: false
args:
- kubectl
- argo
- rollouts
- get
- rollout
- $NAME
- --context
- $CONTEXT
- -n
- $NAMESPACE;
- $null = $Host.UI.RawUI.ReadKey('NoEcho,IncludeKeyDown')
argo-rollouts-watch:
shortCut: w
confirm: false
description: Watch progress
scopes:
- rollouts
command: powershell
background: false
args:
- kubectl
- argo
- rollouts
- get
- rollout
- $NAME
- --context
- $CONTEXT
- -n
- $NAMESPACE
- -w;
- $null = $Host.UI.RawUI.ReadKey('NoEcho,IncludeKeyDown')
argo-rollouts-promote:
shortCut: p
confirm: true
description: Promote
scopes:
- rollouts
command: powershell
background: false
args:
- kubectl
- argo
- rollouts
- promote
- $NAME
- --context
- $CONTEXT
- -n
- $NAMESPACE;
- $null = $Host.UI.RawUI.ReadKey('NoEcho,IncludeKeyDown')
argo-rollouts-restart:
shortCut: r
confirm: true
description: Restart
scopes:
- rollouts
command: powershell
background: false
args:
- kubectl
- argo
- rollouts
- restart
- $NAME
- --context
- $CONTEXT
- -n
- $NAMESPACE;
- $null = $Host.UI.RawUI.ReadKey('NoEcho,IncludeKeyDown')

0 comments on commit baa4ea5

Please sign in to comment.