summaryrefslogtreecommitdiff
path: root/contrib/k8s-emc/stream-site-ingress.yml
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/k8s-emc/stream-site-ingress.yml')
-rw-r--r--contrib/k8s-emc/stream-site-ingress.yml17
1 files changed, 12 insertions, 5 deletions
diff --git a/contrib/k8s-emc/stream-site-ingress.yml b/contrib/k8s-emc/stream-site-ingress.yml
index a9f08e9..b6c8efa 100644
--- a/contrib/k8s-emc/stream-site-ingress.yml
+++ b/contrib/k8s-emc/stream-site-ingress.yml
@@ -1,4 +1,4 @@
-apiVersion: extensions/v1beta1
+apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
namespace: emc
@@ -9,6 +9,7 @@ metadata:
tier: live
stream: public
spec:
+ ingressClassName: nginx
tls:
- hosts:
- stream.elev8.at
@@ -21,13 +22,19 @@ spec:
http:
paths:
- path: /
+ pathType: Prefix
backend:
- serviceName: stream-site-public
- servicePort: 8080
+ service:
+ name: stream-site-public
+ port:
+ number: 8080
- host: stream.elevate.at
http:
paths:
- path: /
+ pathType: Prefix
backend:
- serviceName: stream-site-public
- servicePort: 8080
+ service:
+ name: stream-site-public
+ port:
+ number: 8080