If you need to cleanup your namespace resources based on a prefix and don’t want to do it manually, then this script I wrote is for you.
Note that this assumes you use a naming convention for your resources.
This will iterate through resources, in the right order ( as tested so far… ) to delete everything starting with that prefix.
Here’s a breakdown of what we’ll use:
The setup would look something like this:
In this example I’ll provide the docker compose for nvd-scrapper and bigquery-job. The transition to GitLab or GitHub shouldn’t be that difficult but it’s not the scope of this piece. …