From 7230fdbb33ef0b58e4889ad3fced160455b51b0f Mon Sep 17 00:00:00 2001 From: davefu113 <142489013+davefu113@users.noreply.github.com> Date: Sat, 7 Dec 2024 23:32:14 +0800 Subject: [PATCH] fix(argo-rollouts plugin): resolve improper piping in watch command (#3009) The `-w` or `--watch` flag is designed for continuous monitoring and should not pipe to `less` to avoid unnecessary screen rolling. --- plugins/argo-rollouts.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/argo-rollouts.yaml b/plugins/argo-rollouts.yaml index b6e7fec8..34c4fb87 100644 --- a/plugins/argo-rollouts.yaml +++ b/plugins/argo-rollouts.yaml @@ -26,7 +26,7 @@ plugins: background: false args: - -c - - kubectl argo rollouts get rollout $NAME --context $CONTEXT -n $NAMESPACE -w |& less + - kubectl argo rollouts get rollout $NAME --context $CONTEXT -n $NAMESPACE -w argo-rollouts-promote: shortCut: p confirm: true