Adding Argo Rollouts plugin version for PowerShell (#2937)

* Update argo-rollouts.yaml with commented version for PowerShell

* Update argo-rollouts.yaml

* Moving Plugin - Argo Rollouts for Powershell - to separate file
mine
David Mealo 2024-11-03 10:23:12 -05:00 committed by GitHub
parent 12ea38a701
commit baa4ea5397
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 86 additions and 0 deletions

View File

@ -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')