annotate switch_to_nginx.sh @ 4:0aabbb905eae

projects is now its own deployment
author drewp@bigasterisk.com
date Sun, 18 Sep 2022 23:25:47 -0700
parents 9d3a9e524ad3
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
drewp@bigasterisk.com
parents:
diff changeset
1 #!/bin/zsh
drewp@bigasterisk.com
parents:
diff changeset
2
drewp@bigasterisk.com
parents:
diff changeset
3 cd /my/serv/pomerium
1
9d3a9e524ad3 fuss with ns and stuff to get it working. forward all (over http) to nginx at first
drewp@bigasterisk.com
parents: 0
diff changeset
4
9d3a9e524ad3 fuss with ns and stuff to get it working. forward all (over http) to nginx at first
drewp@bigasterisk.com
parents: 0
diff changeset
5 # not all this, since it includes Certs and also the ns and CRD for the Certs
9d3a9e524ad3 fuss with ns and stuff to get it working. forward all (over http) to nginx at first
drewp@bigasterisk.com
parents: 0
diff changeset
6 kubectl delete -f kube/10-pomerium.yaml
9d3a9e524ad3 fuss with ns and stuff to get it working. forward all (over http) to nginx at first
drewp@bigasterisk.com
parents: 0
diff changeset
7 kubectl delete -f kube/20-deployment.yaml
9d3a9e524ad3 fuss with ns and stuff to get it working. forward all (over http) to nginx at first
drewp@bigasterisk.com
parents: 0
diff changeset
8 kubectl delete -f kube/03-volumes.yaml
0
drewp@bigasterisk.com
parents:
diff changeset
9
drewp@bigasterisk.com
parents:
diff changeset
10 cd /my/serv/nginx
drewp@bigasterisk.com
parents:
diff changeset
11 /my/proj/release/env/bin/invoke run