Skip to content

Commit cf6cbc1

Browse files
committed
fix: also remove ctfd ingress
1 parent 8a12356 commit cf6cbc1

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

aws/k8s-aws-alb-script-cleanup.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,11 @@ echo "cleanup k8s ingress and service. This may take a while"
2828
kubectl delete service wrongsecrets-balancer
2929
kubectl delete ingress wrongsecrets-balancer
3030

31+
kubectl delete ingress ctfd -n ctfd
32+
33+
# Give some time for the controller to remove cleaned ingresses
34+
sleep 5
35+
3136
echo "Cleanup helm chart"
3237
helm uninstall aws-load-balancer-controller \
3338
-n kube-system

0 commit comments

Comments
 (0)