Adapt example configs to urban terror

This commit is contained in:
2025-05-06 23:23:40 +02:00
parent 21d1628b26
commit dd2c9160aa
3 changed files with 38 additions and 74 deletions

View File

@ -2,7 +2,7 @@
apiVersion: v1
kind: ConfigMap
metadata:
name: quake3-server-config
name: server-config
data:
config.yaml: |
fragLimit: 25
@ -10,39 +10,27 @@ data:
bot:
minPlayers: 3
game:
motd: "Welcome to Critical Stack"
motd: "Welcome to my Urban Terror server"
type: FreeForAll
forceRespawn: false
inactivity: 10m
quadFactor: 3
weaponRespawn: 3
server:
hostname: "quakekube"
maxClients: 12
password: "changeme"
# password: "changeme"
commands:
- addbot sarge 2
maps:
- name: q3dm7
- name: ut4_uptown
type: FreeForAll
timeLimit: 10m
- name: q3dm17
- name: ut4_swim
type: FreeForAll
- name: q3wctf1
type: CaptureTheFlag
captureLimit: 8
- name: q3tourney2
type: Tournament
- name: q3wctf3
type: CaptureTheFlag
captureLimit: 8
- name: ztn3tourney1
type: Tournament
---
apiVersion: "agones.dev/v1"
kind: Fleet
metadata:
name: octops
name: urbanterror
labels:
cluster: gke-1.17
region: us-east-1
@ -74,7 +62,7 @@ spec:
containers:
- name: gameserver
imagePullPolicy: Always
image: octops/quake:latest
image: gitea.bp99.eu/bzp99/urban-terror-server:latest
command:
- q3
- server
@ -98,13 +86,13 @@ spec:
memory: "2Gi"
cpu: "1"
volumeMounts:
- name: quake3-server-config
- name: server-config
mountPath: /config
- name: quake3-content
- name: content
mountPath: /assets
- name: content-server
imagePullPolicy: Always
image: octops/quake:latest
image: gitea.bp99.eu/bzp99/urban-terror-server:latest
command:
- q3
- content
@ -119,11 +107,11 @@ spec:
memory: "2Gi"
cpu: "1"
volumeMounts:
- name: quake3-content
- name: content
mountPath: /assets
volumes:
- name: quake3-server-config
- name: server-config
configMap:
name: quake3-server-config
- name: quake3-content
emptyDir: {}
name: server-config
- name: content
emptyDir: {}