Update tf2 and shadowsocks

This commit is contained in:
Nikolai Rodionov 2024-05-26 19:23:19 +02:00
parent 4fd1ea57ae
commit 4331622a9a
Signed by: allanger
GPG Key ID: 0AA46A90E25592AD
10 changed files with 34 additions and 22 deletions

View File

@ -1,6 +1,6 @@
dependencies:
- name: softplayer-lib-workload
repository: oci://git.badhouseplants.net/softplayer
version: 0.1.2
digest: sha256:309dcf8ff3e54beea96a5f3397b4b0c121089c579202681a02dc372d75b2bb74
generated: "2024-05-19T22:30:05.772517+02:00"
version: 0.1.8
digest: sha256:705ec28e79232607706e15dbbdd936fb2fbcae4b253da37d1e08140ee8c7e897
generated: "2024-05-26T19:22:48.889256+02:00"

View File

@ -10,7 +10,7 @@ maintainers:
url: https://badhouseplants.net
dependencies:
- name: softplayer-lib-workload
version: 0.1.2
version: 0.1.8
repository: oci://git.badhouseplants.net/softplayer
sources:
- https://github.com/shadowsocks/shadowsocks-libev

View File

@ -40,6 +40,3 @@ service:
port: 8388
targetPort: 8388
protocol: TCP
global: {}
softplayer-lib-workload: {}

View File

@ -1,6 +1,6 @@
dependencies:
- name: softplayer-lib-workload
repository: oci://git.badhouseplants.net/softplayer
version: 0.1.2
digest: sha256:309dcf8ff3e54beea96a5f3397b4b0c121089c579202681a02dc372d75b2bb74
generated: "2024-05-19T20:39:53.311958+02:00"
version: 0.1.8
digest: sha256:705ec28e79232607706e15dbbdd936fb2fbcae4b253da37d1e08140ee8c7e897
generated: "2024-05-26T13:04:45.205328+02:00"

View File

@ -10,7 +10,7 @@ maintainers:
url: https://badhouseplants.net
dependencies:
- name: softplayer-lib-workload
version: 0.1.2
version: 0.1.8
repository: oci://git.badhouseplants.net/softplayer
annotations:
allowed_workload_kinds: "Deployment"

View File

@ -1,4 +1,3 @@
---
workload:
kind: Deployment
containers:
@ -22,6 +21,25 @@ workload:
envFrom:
- environment
- secrets
livenessProbe:
tcpSocket:
port: 27015
failureThreshold: 6
periodSeconds: 10
readinessProbe:
tcpSocket:
port: 27015
failureThreshold: 2
periodSeconds: 10
startupProbe:
failureThreshold: 80
initialDelaySeconds: 30
periodSeconds: 30
exec:
command:
- grep
- "Connectivity test: OK!"
- /Steam/logs/connection_log.txt
initContainers:
0-prepare-config:
image:
@ -34,7 +52,7 @@ workload:
data:
path: /tf-data
files:
server-cfg:
servercfg:
mode: 420
path: /src/server.cfg
subPath: server.cfg
@ -65,23 +83,23 @@ traefik:
tf2:
routes:
- services:
- name: "{{ .Release.Name }}"
- name: '{{ include "chart.fullname" $ }}'
port: 27015
weight: 10
nativeLB: false
nativeLB: true
tcpRoutes:
rcon:
routes:
- match: HostSNI(`*`)
services:
- name: "{{ .Release.Name }}"
- name: '{{ include "chart.fullname" $ }}'
port: 27015
nativeLB: true
storage:
data:
storageClassName: default
size: 45G
size: 20G
accessModes:
- ReadWriteOnce
env:
@ -98,7 +116,7 @@ env:
SRCDS_STARTMAP: "ctf_2fort"
SRCDS_HOSTNAME: "New TF Server" # -- first launch only
SRCDS_CFG: "server.cfg"
SRCDS_MAPCYCLE: "mapcycle_default.txt" # -- value can be overwritten by tf/cfg/server.cfg
SRCDS_MAPCYCLE: "m apcycle_default.txt" # -- value can be overwritten by tf/cfg/server.cfg
SRCDS_SECURED: "1" # -- 0 to start the server as insecured
secrets:
sensitive: true
@ -109,7 +127,7 @@ extraVolumes:
steam:
emptyDir: {}
files:
server-cfg:
servercfg:
sensitive: true
data:
server.cfg: |-
@ -185,11 +203,8 @@ files:
net_maxfilesize 15
// Team Balancing //
// Enable team balancing
mp_autoteambalance 1
// Time after the teams become unbalanced to attempt to switch players.
mp_autoteambalance_delay 60
// Time after the teams become unbalanced to print a balance warning
mp_autoteambalance_warning_delay 30
// Teams are unbalanced when one team has this many more players than the other team. (0 disables check)
mp_teams_unbalance_limit 1
// Round and Game Times //