Skip to content

Commit

Permalink
(traefik) Add script to delete old CRDs
Browse files Browse the repository at this point in the history
  • Loading branch information
h3mmy committed Dec 10, 2023
1 parent 167c435 commit 8e5e5c5
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions delete-traefik-containo-crds.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/bin/bash
KIND=CustomResourceDefinition
NAMESPACE=networking

for CRD in ingressroutes.traefik.containo.us ingressroutetcps.traefik.containo.us ingressrouteudps.traefik.containo.us middlewares.traefik.containo.us middlewaretcps.traefik.containo.us traefikservices.traefik.containo.us tlsstores.traefik.containo.us tlsoptions.traefik.containo.us serverstransports.traefik.containo.us
kubectl -n ${NAMESPACE} delete ${KIND} ${CRD}
done

0 comments on commit 8e5e5c5

Please sign in to comment.