forked from siw36/docker-steamcmd-gs-updater
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsteamcmd-updater-cronjob.yml
46 lines (46 loc) · 1.32 KB
/
steamcmd-updater-cronjob.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
apiVersion: batch/v1beta1
kind: CronJob
metadata:
name: steamcmd-gs-updater-csgo
namespace: test
spec:
concurrencyPolicy: Allow
failedJobsHistoryLimit: 1
jobTemplate:
metadata:
creationTimestamp: null
spec:
template:
metadata:
creationTimestamp: null
labels:
cronjob: steamcmd-gs-updater-csgo
name: steamcmd-gs-updater-csgo
spec:
containers:
- env:
- name: STEAM_APP
value: "740"
- name: PURGE
value: "no"
image: docker-registry.default.svc:5000/test/docker-steamcmd-gs-updater:latest
imagePullPolicy: Always
name: steamcmd-gs-updater-csgo
resources: {}
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
volumeMounts:
- mountPath: /home/gs/gameserver
name: game-data
dnsPolicy: ClusterFirst
restartPolicy: OnFailure
schedulerName: default-scheduler
securityContext: {}
terminationGracePeriodSeconds: 30
volumes:
- name: game-data
persistentVolumeClaim:
claimName: steamcmd-gs-updater-csgo
schedule: 0 4 * * *
successfulJobsHistoryLimit: 3
suspend: false