Set port on ingress

This commit is contained in:
SeanOMik 2023-04-19 22:30:34 -04:00
parent deac88d21d
commit d219949875
Signed by: SeanOMik
GPG Key ID: 568F326C7EB33ACB
1 changed files with 4 additions and 4 deletions

View File

@ -28,8 +28,8 @@ spec:
game:
enabled: true
primary: true
port: 34197
targetPort: 34197
port: &port 34197
targetPort: *port
protocol: UDP
probes:
@ -42,13 +42,13 @@ spec:
annotations:
traefik.ingress.kubernetes.io/router.entrypoints: factorio
hosts:
- host: &host "fact.${SECRET_NEW_DOMAIN}"
- host: "fact.${SECRET_NEW_DOMAIN}"
paths:
- path: /
pathType: Prefix
service:
port:
name: game
number: *port
persistence:
data: