Mercurial > code > home > repos > pomerium
comparison tasks.py @ 29:bd2cbc36bc65
reorder `delete` task
author | drewp@bigasterisk.com |
---|---|
date | Mon, 19 Jun 2023 22:20:00 -0700 |
parents | b53ab97e8979 |
children | b1f75b0584f3 |
comparison
equal
deleted
inserted
replaced
28:88fc66e2ebf5 | 29:bd2cbc36bc65 |
---|---|
29 | 29 |
30 | 30 |
31 @task | 31 @task |
32 def delete(ctx): | 32 def delete(ctx): |
33 # todo don't delete certs that have big timeouts to remake | 33 # todo don't delete certs that have big timeouts to remake |
34 ctx.run("kubectl delete -f config/51-pomerium-staging-issuer.yaml --ignore-not-found", echo=True) | |
35 ctx.run("kubectl delete -f config/51-pomerium-production-issuer.yaml --ignore-not-found", echo=True) | |
36 ctx.run("kubectl delete -f config/60-auth-cert.yaml --ignore-not-found", echo=True) | |
37 ctx.run("kubectl delete pomerium/global --ignore-not-found", echo=True) | |
38 ctx.run("skaffold delete -f use-invoke-not-skaffold.yaml ", echo=True) | |
34 ctx.run("kubectl delete -n pomerium job/pomerium-gen-secrets --ignore-not-found", echo=True) | 39 ctx.run("kubectl delete -n pomerium job/pomerium-gen-secrets --ignore-not-found", echo=True) |
35 ctx.run("skaffold delete -f use-invoke-not-skaffold.yaml ", echo=True) | |
36 ctx.run("kubectl delete pomerium/global --ignore-not-found", echo=True) | |
37 ctx.run("kubectl delete -f config/60-auth-cert.yaml --ignore-not-found", echo=True) | |
38 ctx.run("kubectl delete -f config/51-pomerium-production-issuer.yaml --ignore-not-found", echo=True) | |
39 ctx.run("kubectl delete -f config/51-pomerium-staging-issuer.yaml --ignore-not-found", echo=True) | |
40 | 40 |
41 | 41 |
42 ''' | 42 ''' |
43 troubleshooting, based on | 43 troubleshooting, based on |
44 https://cert-manager.io/docs/troubleshooting/ | 44 https://cert-manager.io/docs/troubleshooting/ |