mapcycle
This commit is contained in:
parent
9e8cc80c9a
commit
15cd89da06
@ -42,6 +42,18 @@ spec:
|
||||
|
||||
---
|
||||
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
metadata:
|
||||
name: cfg
|
||||
namespace: surf
|
||||
data:
|
||||
mapcycle.txt: |
|
||||
surf_fornax
|
||||
surf_boreas
|
||||
|
||||
---
|
||||
|
||||
# -----------------------------------------------------------------------
|
||||
# DEPLOYMENT
|
||||
# -----------------------------------------------------------------------
|
||||
@ -49,17 +61,17 @@ spec:
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: megastructure-surf
|
||||
name: cssds
|
||||
namespace: surf
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app: megastructure-surf
|
||||
app: cssds
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: megastructure-surf
|
||||
app: cssds
|
||||
spec:
|
||||
initContainers:
|
||||
- name: fix-permissions
|
||||
@ -69,10 +81,10 @@ spec:
|
||||
- name: cssds
|
||||
mountPath: /home/steam/cssds
|
||||
containers:
|
||||
- name: megastructure-surf
|
||||
image: registry.ntwl.xyz/megastructure-surf
|
||||
- name: cssds
|
||||
image: registry.ntwl.xyz/megastructure-surf-cssds
|
||||
imagePullPolicy: Always
|
||||
command: ["sleep", "100000000"]
|
||||
# command: ["sleep", "100000000"]
|
||||
ports:
|
||||
- containerPort: 27015
|
||||
- containerPort: 27005
|
||||
@ -85,6 +97,9 @@ spec:
|
||||
- name: fastdl-maps
|
||||
mountPath: /fastdl/maps
|
||||
readOnly: true
|
||||
- name: cfg
|
||||
mountPath: /home/steam/cfg
|
||||
readOnly: true
|
||||
volumes:
|
||||
- name: cssds
|
||||
persistentVolumeClaim:
|
||||
@ -92,6 +107,9 @@ spec:
|
||||
- name: fastdl-maps
|
||||
persistentVolumeClaim:
|
||||
claimName: fastdl-maps
|
||||
- name: cfg
|
||||
configMap:
|
||||
name: cfg
|
||||
|
||||
---
|
||||
|
||||
@ -102,12 +120,12 @@ spec:
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: megastructure-surf
|
||||
name: cssds
|
||||
namespace: surf
|
||||
spec:
|
||||
type: NodePort
|
||||
selector:
|
||||
app: megastructure-surf
|
||||
app: cssds
|
||||
ports:
|
||||
- name: game-port
|
||||
protocol: UDP
|
||||
@ -142,7 +160,6 @@ spec:
|
||||
- "run"
|
||||
- "-A"
|
||||
- "mapsdl.ts"
|
||||
|
||||
env:
|
||||
- name: MAPS_DIR
|
||||
value: "/maps"
|
||||
@ -152,26 +169,25 @@ spec:
|
||||
value: "/app/credentials/service-account.json"
|
||||
- name: MAPS_WISHLIST
|
||||
value: |
|
||||
surf_utopia_njv
|
||||
surf_kitsune
|
||||
surf_lt_omnific
|
||||
surf_pantheon
|
||||
surf_kitsune2
|
||||
surf_kepler
|
||||
surf_anzchamps
|
||||
surf_boreas
|
||||
surf_deathstar
|
||||
surf_ebony
|
||||
surf_fornax
|
||||
surf_garden
|
||||
surf_in_space
|
||||
|
||||
surf_kepler
|
||||
surf_kitsune
|
||||
surf_kitsune2
|
||||
surf_lt_omnific
|
||||
surf_pantheon
|
||||
surf_utopia_njv
|
||||
volumeMounts:
|
||||
- name: fastdl-maps
|
||||
mountPath: /maps
|
||||
- name: credentials
|
||||
mountPath: /app/credentials
|
||||
readOnly: true
|
||||
|
||||
volumes:
|
||||
- name: fastdl-maps
|
||||
persistentVolumeClaim:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user