Set port on ingress
This commit is contained in:
parent
deac88d21d
commit
d219949875
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue