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