Add security context for minecraft server user
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
201fb15e0f
commit
09eb22f316
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user