73 lines
1.5 KiB
YAML
73 lines
1.5 KiB
YAML
image:
|
|
repository: ich777/steamcmd
|
|
pullPolicy: IfNotPresent
|
|
tag: cs2@sha256:15f64517c2783293415f64c35b0ebb39a00fc40ef671a9c37207fcbb63e2a1f0
|
|
|
|
securityContext:
|
|
container:
|
|
readOnlyRootFilesystem: false
|
|
runAsUser: 0
|
|
runAsGroup: 0
|
|
|
|
service:
|
|
main:
|
|
ports:
|
|
main:
|
|
protocol: udp
|
|
port: 27015
|
|
rcon:
|
|
enabled: true
|
|
ports:
|
|
rcon:
|
|
enabled: true
|
|
protocol: tcp
|
|
port: 27020
|
|
cs2:
|
|
game:
|
|
id: 730
|
|
user: ""
|
|
pass: ""
|
|
validate: false
|
|
params:
|
|
- -dedicated
|
|
- -dev
|
|
- +map
|
|
- de_inferno
|
|
- +game_type 0
|
|
- +game_mode 1
|
|
- -usercon
|
|
|
|
workload:
|
|
main:
|
|
podSpec:
|
|
containers:
|
|
main:
|
|
probes:
|
|
liveness:
|
|
enabled: false
|
|
readiness:
|
|
enabled: false
|
|
startup:
|
|
enabled: false
|
|
env:
|
|
STEAMCMD_DIR: "{{ .Values.persistence.steamcmd.mountPath }}"
|
|
SERVER_DIR: "{{ .Values.persistence.serverfiles.mountPath }}"
|
|
GAME_PORT: "{{ .Values.service.main.ports.main.port }}"
|
|
GAME_ID: "{{ .Values.cs2.game.id }}"
|
|
USERNAME: "{{ .Values.cs2.game.user }}"
|
|
PASSWRD: "{{ .Values.cs2.game.password }}"
|
|
GAME_PARAMS: '{{ join " " .Values.cs2.game.params }}'
|
|
VALIDATE: "{{ .Values.cs2.game.validate }}"
|
|
|
|
persistence:
|
|
steamcmd:
|
|
enabled: true
|
|
mountPath: /serverdata/steamcmd
|
|
serverfiles:
|
|
enabled: true
|
|
mountPath: /serverdata/serverfiles
|
|
|
|
portal:
|
|
open:
|
|
enabled: false
|