summaryrefslogtreecommitdiff
path: root/templates/default/kubernetes/stream-site-ingress.yml.j2
blob: 1fbc81fb3758a21600ddbf55b504b253b98304d9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
  namespace: {{ deploy.namespace }}
  name: stream-site-{{ deploy.stream }}
  labels:
    app: nginx
    type: stream-site
    stream: {{ deploy.stream }}
spec:
  tls:
  - secretName: stream-site-{{ deploy.stream }}-tls
    hosts:
    - {{ desc.streams[deploy.stream]['site-hostname'] }}
  rules:
  - host: {{ desc.streams[deploy.stream]['site-hostname'] }}
    http:
      paths:
      - path: /
        backend:
          serviceName: stream-site-{{ deploy.stream }}
          servicePort: 8080