feat: use kubectl events for plugin `watch-events` (#3062)

mine
Zadkiel AHARONIAN 2025-01-19 18:20:59 +01:00 committed by GitHub
parent 4636a4d3bc
commit de9a118d43
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -12,4 +12,4 @@ plugins:
background: false
args:
- -c
- "watch -n 5 kubectl get events --context $CONTEXT --namespace $NAMESPACE --field-selector involvedObject.name=$NAME"
- "kubectl events --context $CONTEXT --namespace $NAMESPACE --for $RESOURCE_NAME.$RESOURCE_GROUP/$NAME --watch"