diff options
author | Vincent Ambo <tazjin@google.com> | 2019-09-02T17·28+0100 |
---|---|---|
committer | Vincent Ambo <tazjin@google.com> | 2019-09-02T17·28+0100 |
commit | a0089892dd84ab78d58b76067e441cce57b27f62 (patch) | |
tree | e807311cdc6578471c7b518ddd6fb93dd9436ba7 | |
parent | 785a5a29976a9682bd1a8a30c2bfa50185a0b5cf (diff) |
feat(k8s): Route oslo.pub to nginx in ingress
-rw-r--r-- | infra/kubernetes/https-lb/ingress.yaml | 10 |
1 files changed, 9 insertions, 1 deletions
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 |