From baa4ea5397c34d31e01e3427fb7bba0732a9b0fe Mon Sep 17 00:00:00 2001 From: David Mealo Date: Sun, 3 Nov 2024 10:23:12 -0500 Subject: [PATCH] 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 --- plugins/argo-rollouts-powershell.yaml | 86 +++++++++++++++++++++++++++ 1 file changed, 86 insertions(+) create mode 100644 plugins/argo-rollouts-powershell.yaml diff --git a/plugins/argo-rollouts-powershell.yaml b/plugins/argo-rollouts-powershell.yaml new file mode 100644 index 0000000000..fead287285 --- /dev/null +++ b/plugins/argo-rollouts-powershell.yaml @@ -0,0 +1,86 @@ +# Manage argo-rollouts from PowerShell +# See https://argoproj.github.io/argo-rollouts/ +# Get rollout details +# Watch rollout progress +#

(with confirmation) Promote rollout +# (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') \ No newline at end of file