You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

45 lines
874 B
YAML

apiVersion: traefik.containo.us/v1alpha1
kind: IngressRouteTCP
metadata:
name: game
namespace: minecraft
spec:
entryPoints:
- minecraft
routes:
- match: HostSNI(`*`)
services:
- name: minecraft-minecraft
port: minecraft
---
apiVersion: traefik.containo.us/v1alpha1
kind: IngressRouteUDP
metadata:
name: voice
namespace: minecraft
spec:
entryPoints:
- minecraft-voice
routes:
- services:
- name: minecraft-minecraft
port: voicechat
---
apiVersion: traefik.containo.us/v1alpha1
kind: IngressRoute
metadata:
name: web-map
namespace: minecraft
spec:
entryPoints:
- web
routes:
- match: Host(`minecraft-map.trivernis.net`, `minecraft-map.trivernis.dev`)
kind: Rule
middlewares:
- name: strict-security-headers
namespace: default
services:
- name: minecraft-minecraft
port: map