diff options
Diffstat (limited to 'templates/default/kubernetes/stream-site-ingress.yml.j2')
-rw-r--r-- | templates/default/kubernetes/stream-site-ingress.yml.j2 | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/templates/default/kubernetes/stream-site-ingress.yml.j2 b/templates/default/kubernetes/stream-site-ingress.yml.j2 new file mode 100644 index 0000000..1fbc81f --- /dev/null +++ b/templates/default/kubernetes/stream-site-ingress.yml.j2 @@ -0,0 +1,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 |