poire.dev/infra/manifests/ingress.yaml
2019-11-30 22:54:18 -05:00

39 lines
912 B
YAML

apiVersion: extensions/v1beta1
kind: Ingress
metadata:
name: public-ingress
annotations:
kubernetes.io/ingress.class: nginx
spec:
tls:
- hosts:
- momoperes.ca
- defiant.momoperes.ca
- charts.momoperes.ca
secretName: momoperes.ca-wildcard-tls
rules:
- host: momoperes.ca
http:
paths:
- path: /
backend:
serviceName: website
servicePort: 9000
- path: /files
backend:
serviceName: website-files
servicePort: 9000
- host: defiant.momoperes.ca
http:
paths:
- path: /
backend:
serviceName: defiant
servicePort: 80
- host: charts.momoperes.ca
http:
paths:
- path: /
backend:
serviceName: chartmuseum
servicePort: 8080