Fix the command to set a password

This commit is contained in:
Nikolai Rodionov 2024-06-30 14:18:42 +02:00
parent 85a8088610
commit 8ca75308fc
Signed by: allanger
GPG Key ID: 0AA46A90E25592AD
2 changed files with 2 additions and 2 deletions

View File

@ -28,7 +28,7 @@ repositories:
releases: releases:
- name: minecraft - name: minecraft
chart: minecraft/minecraft chart: minecraft/minecraft
namespace: minecraft-application namespace: games
version: 4.19.0 version: 4.19.0
values: values:
- ./values.yaml - ./values.yaml

View File

@ -41,7 +41,7 @@ lifecycle:
postStart: postStart:
- bash - bash
- -c - -c
- for i in {1..100}; do mc-health && break || sleep 20; done && mc-send-to-console setpassword 11223345 - for i in {1..100}; do mc-health && break || sleep 20; done && rcon-cli setpassword 11223345
readinessProbe: readinessProbe:
command: command: