From 0afea245b7af8f21b46169ef6b817ea5769baab2 Mon Sep 17 00:00:00 2001 From: Luca Mattiello Date: Sat, 25 May 2024 17:33:11 +0200 Subject: [PATCH] feat: Add plugins for argo-rollouts (#2711) Signed-off-by: Luca Mattiello --- plugins/argo-rollouts.yaml | 51 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 plugins/argo-rollouts.yaml diff --git a/plugins/argo-rollouts.yaml b/plugins/argo-rollouts.yaml new file mode 100644 index 00000000..b6e7fec8 --- /dev/null +++ b/plugins/argo-rollouts.yaml @@ -0,0 +1,51 @@ +# Manage argo-rollouts +# 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: 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