From 60b0431dab0479363c2efadd11114b0b2772eaec Mon Sep 17 00:00:00 2001 From: Joe Nap <> Date: Sat, 26 Mar 2022 16:03:44 -0400 Subject: [PATCH 1/2] Add config for loadBalancerIP on service object --- chart/templates/service.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/chart/templates/service.yaml b/chart/templates/service.yaml index 5d2c0fc..3a4ed1f 100644 --- a/chart/templates/service.yaml +++ b/chart/templates/service.yaml @@ -21,5 +21,8 @@ spec: {{- end }} {{ end }} type: {{ .Values.networking.serviceType }} + {{ if .Values.networking.loadBalancerIP }} + loadBalancerIP: {{ .Values.networking.loadBalancerIP | quote }} + {{ end }} selector: app: valheim-server From c7227d1aac14b8e031534512470e1cc7ea59e4b6 Mon Sep 17 00:00:00 2001 From: Joe Nap <> Date: Sat, 26 Mar 2022 16:11:58 -0400 Subject: [PATCH 2/2] Update readme for new networking.loadBalancerIP config value --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index d665e84..16ad04d 100644 --- a/README.md +++ b/README.md @@ -33,6 +33,7 @@ helm install valheim-server valheim-k8s/valheim-k8s \ | `serverStorage.pvc.storageClassName` | The storageClass used to create the persistentVolumeClaim | `default` | | `serverStorage.pvc.size` | The size of the persistent volume to be created | `5Gi` | | `networking.serviceType` | The type of service e.g `NodePort`, `LoadBalancer` or `ClusterIP` | `LoadBalancer` | +| `networking.loadBalancerIP` | A user supplied IP for service type LoadBalancer | None | | `networking.gamePort` | The UDP start port the server will listen on | `2456` | | `networking.nodePort` | When service type is `NodePort`, assign a fixed UDP port to the server | `""` | | `networking.publishQueryPort` | Expose the Steam query port (gamePort + 1) | `true` |