Added workadventure

This commit is contained in:
Marcus Noble 2021-06-19 07:01:15 +01:00
parent fd5572cec8
commit 7fa91de04f

View File

@ -212,3 +212,92 @@ spec:
targetPort: 8000 targetPort: 8000
selector: selector:
app: inlets app: inlets
---
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: workadventure
labels:
name: workadventure
annotations:
cert-manager.io/cluster-issuer: letsencrypt
traefik.ingress.kubernetes.io/frontend-entry-points: http,https
traefik.ingress.kubernetes.io/redirect-entry-point: https
traefik.ingress.kubernetes.io/redirect-permanent: "true"
spec:
tls:
- hosts:
- workadventure.cluster.fun
secretName: workadventure-ingress
rules:
- host: workadventure.cluster.fun
http:
paths:
- pathType: Prefix
path: "/"
backend:
service:
name: inlets
port:
number: 80
---
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: workadventure-pusher
labels:
name: workadventure-pusher
annotations:
cert-manager.io/cluster-issuer: letsencrypt
traefik.ingress.kubernetes.io/frontend-entry-points: http,https
traefik.ingress.kubernetes.io/redirect-entry-point: https
traefik.ingress.kubernetes.io/redirect-permanent: "true"
ingress.kubernetes.io/custom-response-headers: "Access-Control-Allow-Origin:*"
spec:
tls:
- hosts:
- workadventure-pusher.cluster.fun
secretName: workadventure-pusher-ingress
rules:
- host: workadventure-pusher.cluster.fun
http:
paths:
- pathType: Prefix
path: "/"
backend:
service:
name: inlets
port:
number: 80
---
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: workadventure-maps
labels:
name: workadventure-maps
annotations:
cert-manager.io/cluster-issuer: letsencrypt
traefik.ingress.kubernetes.io/frontend-entry-points: http,https
traefik.ingress.kubernetes.io/redirect-entry-point: https
traefik.ingress.kubernetes.io/redirect-permanent: "true"
ingress.kubernetes.io/custom-response-headers: "Access-Control-Allow-Origin:*"
spec:
tls:
- hosts:
- maps.workadventure.cluster.fun
secretName: workadventure-maps-ingress
rules:
- host: maps.workadventure.cluster.fun
http:
paths:
- pathType: Prefix
path: "/"
backend:
service:
name: inlets
port:
number: 80