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.
mine
davefu113 2024-12-07 23:32:14 +08:00 committed by GitHub
parent c07ea1dd54
commit 7230fdbb33
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -26,7 +26,7 @@ plugins:
background: false background: false
args: args:
- -c - -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: argo-rollouts-promote:
shortCut: p shortCut: p
confirm: true confirm: true