Skip to content

Commit 31f64a1

Browse files
committed
Cleanup traefix
1 parent da7f35e commit 31f64a1

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/integration-tests/bash/cleanup.sh

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,14 @@ for ((i=0;i<DCOUNT;i++)); do
7474
#echo @@ Deleting ${curdomain} traefik in namespace $curns
7575
#kubectl delete -f $RESULT_DIR/${curns}-${curdomain}/traefik-deployment.yaml --ignore-not-found=true
7676
#kubectl delete -f $RESULT_DIR/${curns}-${curdomain}/traefik-rbac.yaml --ignore-not-found=true
77+
kubectl -n $curns delete deploy ${curdomain}-cluster-1-traefik --ignore-not-found=true
78+
kubectl -n $curns delete service ${curdomain}-cluster-1-traefik --ignore-not-found=true
79+
kubectl -n $curns delete service ${curdomain}-cluster-1-traefik-dashboard --ignore-not-found=true
80+
kubectl -n $curns delete cm ${curdomain}-cluster-1-traefik --ignore-not-found=true
81+
kubectl -n $curns delete serviceaccount ${curdomain}-cluster-1-traefik --ignore-not-found=true
82+
kubectl -n $curns delete clusterrole ${curdomain}-cluster-1-traefik --ignore-not-found=true
83+
kubectl -n $curns delete clusterrolebinding ${curdomain}-cluster-1-traefik --ignore-not-found=true
84+
7785
done
7886

7987
for ((i=0;i<OCOUNT;i++)); do

0 commit comments

Comments
 (0)