diff --git a/helm/templates/service.yaml b/helm/templates/service.yaml index 8d6dba2..eade03e 100644 --- a/helm/templates/service.yaml +++ b/helm/templates/service.yaml @@ -6,7 +6,7 @@ spec: selector: app: {{ .Release.Name }} ports: - - port: 25565 + - port: {{ .Values.port }} targetPort: 25565 name: {{ .Release.Name }} type: LoadBalancer \ No newline at end of file diff --git a/helm/values.yaml b/helm/values.yaml index efd1fbc..a842d4b 100644 --- a/helm/values.yaml +++ b/helm/values.yaml @@ -1 +1,2 @@ -image: hub.ducoterra.net/ducoterra/minecraft \ No newline at end of file +image: hub.ducoterra.net/ducoterra/minecraft +port: 25565 \ No newline at end of file diff --git a/server/server.properties b/server/server.properties index 8bfda80..a362aad 100644 --- a/server/server.properties +++ b/server/server.properties @@ -25,7 +25,7 @@ server-ip= spawn-npcs=true allow-flight=true level-name=world -view-distance=20 +view-distance=32 resource-pack= spawn-animals=true white-list=true