2023-11-10 10:52:46 +00:00
|
|
|
image:
|
2024-01-02 11:15:02 +00:00
|
|
|
repository: tccr.io/tccr/cs2
|
2023-11-10 10:52:46 +00:00
|
|
|
pullPolicy: IfNotPresent
|
|
|
|
tag: latest@sha256:24f52ee1c81175980b76914803bc3ca15c02d4217ccc1c0baf414b8cd2d5f44f
|
|
|
|
|
|
|
|
securityContext:
|
|
|
|
container:
|
|
|
|
readOnlyRootFilesystem: false
|
|
|
|
runAsUser: 0
|
|
|
|
runAsGroup: 0
|
|
|
|
|
|
|
|
service:
|
|
|
|
main:
|
|
|
|
ports:
|
|
|
|
main:
|
|
|
|
protocol: udp
|
|
|
|
port: 27015
|
|
|
|
|
|
|
|
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
|