chore(minecraft-java): Add rcon_password in gui (#2297)

This commit is contained in:
Stavros Kois 2022-03-27 01:59:29 +02:00 committed by GitHub
parent 8524b539f8
commit 7669df06cc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 25 additions and 2 deletions

View File

@ -20,7 +20,7 @@ sources:
- https://github.com/itzg/docker-minecraft-server
- https://hub.docker.com/r/itzg/minecraft-server
type: application
version: 0.0.29
version: 0.0.30
annotations:
truecharts.org/catagories: |
- games

View File

@ -92,7 +92,20 @@ questions:
- value: "OnDelete"
description: "(Legacy) OnDelete: ignore .spec.template changes"
# Include{controllerExpert}
- variable: secret
group: "Container Configuration"
label: "Image Secrets"
schema:
additional_attrs: true
type: dict
attrs:
- variable: RCON_PASSWORD
label: "RCON_PASSWORD"
description: "This will only have effect in the first installation or always if OVERRIDE_SERVER_PROPERTIES is enabled"
schema:
type: string
private: true
default: ""
- variable: env
group: "Container Configuration"
label: "Image Environment"
@ -106,6 +119,12 @@ questions:
type: boolean
required: true
default: false
- variable: OVERRIDE_SERVER_PROPERTIES
label: "OVERRIDE_SERVER_PROPERTIES"
description: "Enable this so RCON_PASSWORD will always have effect."
schema:
type: boolean
default: false
- variable: VERSION
label: "Minecraft Version - LATEST, SNAPSHOT, or verison"
schema:

View File

@ -30,8 +30,12 @@ podSecurityContext:
runAsUser: 0
runAsGroup: 0
secret:
RCON_PASSWORD: "secretrconpass"
env:
EULA: "TRUE"
OVERRIDE_SERVER_PROPERTIES: true
VERSION: "LATEST"
TYPE: "VANILLA"
DIFFICULTY: easy