feat(k8s): Route oslo.pub to nginx in ingress
This commit is contained in:
parent
785a5a2997
commit
a0089892dd
1 changed files with 9 additions and 1 deletions
|
@ -6,10 +6,18 @@ kind: Ingress
|
||||||
metadata:
|
metadata:
|
||||||
name: https-ingress
|
name: https-ingress
|
||||||
annotations:
|
annotations:
|
||||||
networking.gke.io/managed-certificates: tazj-in, www-tazj-in
|
networking.gke.io/managed-certificates: tazj-in, www-tazj-in, oslo-pub
|
||||||
spec:
|
spec:
|
||||||
# Default traffic is routed to the blog, in case people go to
|
# Default traffic is routed to the blog, in case people go to
|
||||||
# peculiar hostnames.
|
# peculiar hostnames.
|
||||||
backend:
|
backend:
|
||||||
serviceName: tazblog
|
serviceName: tazblog
|
||||||
servicePort: 8000
|
servicePort: 8000
|
||||||
|
rules:
|
||||||
|
# Route oslo.pub to the nginx instance which serves redirects
|
||||||
|
- host: oslo.pub
|
||||||
|
http:
|
||||||
|
paths:
|
||||||
|
- backend:
|
||||||
|
serviceName: nginx
|
||||||
|
servicePort: 80
|
||||||
|
|
Loading…
Reference in a new issue