Skip to content

Commit

Permalink
chore: refresh-env-var-ns - split deletion tasks
Browse files Browse the repository at this point in the history
Signed-off-by: ShutingZhao <[email protected]>
  • Loading branch information
realshuting committed Sep 13, 2023
1 parent fa3731e commit d3540ed
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion other/rec-req/refresh-env-var-in-pod/05-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,4 +54,9 @@ commands:
else
exit 1;
fi
- command: kubectl delete all --all --force --grace-period=0 -n refresh-env-var-ns
- command: kubectl delete deployment --all --force --grace-period=0 -n refresh-env-var-ns
- command: kubectl delete secret --all --force --grace-period=0 -n refresh-env-var-ns
- command: kubectl delete clusterrole kyverno:background-controller:refresh-env-var-in-pod
- command: kubectl delete cpol --all
- command: sleep 3
- command: kubectl delete ns refresh-env-var-ns

0 comments on commit d3540ed

Please sign in to comment.