annotate switch_to_nginx.sh @ 1:9d3a9e524ad3

fuss with ns and stuff to get it working. forward all (over http) to nginx at first
author drewp@bigasterisk.com
date Tue, 13 Sep 2022 22:32:50 -0700
parents 6bf643829330
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