fix(ops/infra/k8s): Send www.* to nginx for redirections

This commit is contained in:
Vincent Ambo 2020-02-09 01:54:13 +00:00
parent 1fa3316ca1
commit 4a18b3971a

View file

@ -9,7 +9,7 @@ metadata:
networking.gke.io/managed-certificates: tazj-in, git-tazj-in, www-tazj-in, oslo-pub
spec:
rules:
# Route blog to the blog ...
# Route website to, well, the website ...
- host: tazj.in
http:
paths:
@ -17,6 +17,14 @@ spec:
backend:
serviceName: website
servicePort: 8080
# Same for www.* (the redirect is handled by the website nginx)
- host: www.tazj.in
http:
paths:
- path: /*
backend:
serviceName: website
servicePort: 8080
# Route git.tazj.in to the cgit pods
- host: git.tazj.in
http: