diff --git a/charts/games/minecraft-java/questions.yaml b/charts/games/minecraft-java/questions.yaml index 5a6cfa55193..a4c5bbae807 100644 --- a/charts/games/minecraft-java/questions.yaml +++ b/charts/games/minecraft-java/questions.yaml @@ -630,6 +630,66 @@ questions: schema: type: int default: 25565 + - variable: rcon + label: "RCON Service" + description: "The Primary service on which the healthcheck runs, often the webUI" + schema: + additional_attrs: true + type: dict + attrs: +# Include{serviceSelector} + - variable: rcon + label: "RCON Service Port Configuration" + schema: + additional_attrs: true + type: dict + attrs: + - variable: port + label: "Port" + description: "This port exposes the container port on the service" + schema: + type: int + default: 25575 + required: true + - variable: advanced + label: "Show Advanced settings" + schema: + type: boolean + default: false + show_subquestions_if: true + subquestions: + - variable: enabled + label: "Enable the port" + schema: + type: boolean + default: true + - variable: protocol + label: "Port Type" + schema: + type: string + default: "TCP" + enum: + - value: HTTP + description: "HTTP" + - value: "HTTPS" + description: "HTTPS" + - value: TCP + description: "TCP" + - value: "UDP" + description: "UDP" + - variable: nodePort + label: "Node Port (Optional)" + description: "This port gets exposed to the node. Only considered when service type is NodePort, Simple or LoadBalancer" + schema: + type: int + min: 9000 + max: 65535 + - variable: targetPort + label: "Target Port" + description: "The internal(!) port on the container the Application runs on" + schema: + type: int + default: 25575 - variable: serviceexpert group: "Networking and Services" diff --git a/charts/games/minecraft-java/values.yaml b/charts/games/minecraft-java/values.yaml index 3ed90b1afd4..a8d1475a9cb 100644 --- a/charts/games/minecraft-java/values.yaml +++ b/charts/games/minecraft-java/values.yaml @@ -68,3 +68,10 @@ service: main: port: 25565 targetPort: 25565 + rcon: + enabled: true + ports: + rcon: + enabled: true + port: 25575 + targetPort: 25575 diff --git a/docs/manual/default-ports.md b/docs/manual/default-ports.md index 43f1a8e1c96..8c1793df003 100644 --- a/docs/manual/default-ports.md +++ b/docs/manual/default-ports.md @@ -373,6 +373,7 @@ These defaults can of course be changed, but as we guarantee "sane, working defa | joplin-server | main | main | 22300 | TCP | | | verysync | data | data | 22330 | TCP | | | minecraft-java | main | main | 25565 | TCP | | +| minecraft-java | rcon | rcon | 25575 | TCP | | | storj-node | coretcp | coretcp | 28967 | TCP | | | storj-node | coreudp | coreudp | 28967 | UDP | | | omada-controller | omada-udp | omada-udp1 | 29810 | UDP | |