From a0089892dd84ab78d58b76067e441cce57b27f62 Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Mon, 2 Sep 2019 18:28:39 +0100 Subject: feat(k8s): Route oslo.pub to nginx in ingress --- infra/kubernetes/https-lb/ingress.yaml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/infra/kubernetes/https-lb/ingress.yaml b/infra/kubernetes/https-lb/ingress.yaml index 5afb5f3a48e1..03fa2cec0738 100644 --- a/infra/kubernetes/https-lb/ingress.yaml +++ b/infra/kubernetes/https-lb/ingress.yaml @@ -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 -- cgit 1.4.1