Skip to content

Commit

Permalink
Clean up gateway class in ci
Browse files Browse the repository at this point in the history
Signed-off-by: Tamal Saha <[email protected]>
  • Loading branch information
tamalsaha committed Nov 4, 2024
1 parent 59d60ba commit 4f82d51
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions hack/scripts/ct.sh
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@ for dir in charts/*/; do
kubectl create ns $ns
kubectl label ns $ns pod-security.kubernetes.io/enforce=restricted
make ct TEST_CHARTS=charts/$dir KUBE_NAMESPACE=$ns
kubectl patch $(kubectl get gatewayclass -o name) -p '{"metadata":{"finalizers":null}}' --type=merge || true
kubectl delete gatewayclass -A --all || true
kubectl delete ns $ns || true
fi
done

0 comments on commit 4f82d51

Please sign in to comment.