Add security context for minecraft server user
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Tyler Perkins 2023-12-23 21:10:08 -05:00
parent 201fb15e0f
commit 09eb22f316
Signed by: tyler
GPG Key ID: 03B27509E17EFDC8

View File

@ -26,6 +26,9 @@ spec:
chown -R 1000:1000 /data
containers:
- name: minecraft
securityContext:
runAsUser: 1000
runAsGroup: 1000
image: itzg/minecraft-server:java8-jdk
env:
- name: EULA