diff --git a/charts/games/minecraft-java/Chart.yaml b/charts/games/minecraft-java/Chart.yaml index cf2121cdf48..58bd1bac64c 100644 --- a/charts/games/minecraft-java/Chart.yaml +++ b/charts/games/minecraft-java/Chart.yaml @@ -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 diff --git a/charts/games/minecraft-java/questions.yaml b/charts/games/minecraft-java/questions.yaml index a4c5bbae807..250f0351e04 100644 --- a/charts/games/minecraft-java/questions.yaml +++ b/charts/games/minecraft-java/questions.yaml @@ -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: diff --git a/charts/games/minecraft-java/values.yaml b/charts/games/minecraft-java/values.yaml index a4276632997..74c865b0e0f 100644 --- a/charts/games/minecraft-java/values.yaml +++ b/charts/games/minecraft-java/values.yaml @@ -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