feat(k8s): Route oslo.pub to nginx in ingress

This commit is contained in:
Vincent Ambo 2019-09-02 18:28:39 +01:00
parent 785a5a2997
commit a0089892dd

View file

@ -6,10 +6,18 @@ kind: Ingress
metadata:
name: https-ingress
annotations:
networking.gke.io/managed-certificates: tazj-in, www-tazj-in
networking.gke.io/managed-certificates: tazj-in, www-tazj-in, oslo-pub
spec:
# Default traffic is routed to the blog, in case people go to
# peculiar hostnames.
backend:
serviceName: tazblog
servicePort: 8000
rules:
# Route oslo.pub to the nginx instance which serves redirects
- host: oslo.pub
http:
paths:
- backend:
serviceName: nginx
servicePort: 80