Mercurial > code > home > repos > pomerium
diff tasks.py @ 29:bd2cbc36bc65
reorder `delete` task
author | drewp@bigasterisk.com |
---|---|
date | Mon, 19 Jun 2023 22:20:00 -0700 |
parents | b53ab97e8979 |
children | b1f75b0584f3 |
line wrap: on
line diff
--- a/tasks.py Mon Jun 19 22:19:06 2023 -0700 +++ b/tasks.py Mon Jun 19 22:20:00 2023 -0700 @@ -31,12 +31,12 @@ @task def delete(ctx): # todo don't delete certs that have big timeouts to remake - ctx.run("kubectl delete -n pomerium job/pomerium-gen-secrets --ignore-not-found", echo=True) - ctx.run("skaffold delete -f use-invoke-not-skaffold.yaml ", echo=True) + ctx.run("kubectl delete -f config/51-pomerium-staging-issuer.yaml --ignore-not-found", echo=True) + ctx.run("kubectl delete -f config/51-pomerium-production-issuer.yaml --ignore-not-found", echo=True) + ctx.run("kubectl delete -f config/60-auth-cert.yaml --ignore-not-found", echo=True) ctx.run("kubectl delete pomerium/global --ignore-not-found", echo=True) - ctx.run("kubectl delete -f config/60-auth-cert.yaml --ignore-not-found", echo=True) - ctx.run("kubectl delete -f config/51-pomerium-production-issuer.yaml --ignore-not-found", echo=True) - ctx.run("kubectl delete -f config/51-pomerium-staging-issuer.yaml --ignore-not-found", echo=True) + ctx.run("skaffold delete -f use-invoke-not-skaffold.yaml ", echo=True) + ctx.run("kubectl delete -n pomerium job/pomerium-gen-secrets --ignore-not-found", echo=True) '''