diff --git a/plugins/watch-events.yaml b/plugins/watch-events.yaml index 24ef63e669..31a47f1c27 100644 --- a/plugins/watch-events.yaml +++ b/plugins/watch-events.yaml @@ -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"