diff --git a/chaos-workers/chaos-experiments/scripts/apply_net_admin.sh b/chaos-workers/chaos-experiments/scripts/apply_net_admin.sh index ccd05905d..be0738a07 100755 --- a/chaos-workers/chaos-experiments/scripts/apply_net_admin.sh +++ b/chaos-workers/chaos-experiments/scripts/apply_net_admin.sh @@ -10,4 +10,6 @@ CLUSTERID=${namespace%-zeebe} kubectl patch zb "$CLUSTERID" --type merge --patch='{"spec":{"controller":{"reconcileDisabled":true}}}' kubectl patch statefulset zeebe -n "$namespace" --patch "$(cat "$scriptPath/net_admin_patch.yaml")" -kubectl delete pod -l "$(getBrokerLabels)" + +# shellcheck disable=SC2046 +kubectl delete pod $(getBrokerLabels)