more maps
This commit is contained in:
parent
15cd89da06
commit
f81db458ab
@ -49,8 +49,27 @@ metadata:
|
||||
namespace: surf
|
||||
data:
|
||||
mapcycle.txt: |
|
||||
surf_fornax
|
||||
surf_fortum_fix
|
||||
surf_anzchamps
|
||||
surf_andromeda
|
||||
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
|
||||
surf_nyx
|
||||
surf_stonks
|
||||
surf_serenity
|
||||
surf_tendies
|
||||
surf_zoomboys
|
||||
surf_calzone
|
||||
|
||||
---
|
||||
|
||||
@ -144,57 +163,58 @@ spec:
|
||||
# MAP DOWNLOADER
|
||||
# -----------------------------------------------------------------------
|
||||
|
||||
apiVersion: v1
|
||||
kind: Pod
|
||||
apiVersion: batch/v1
|
||||
kind: CronJob
|
||||
metadata:
|
||||
name: mapsdl
|
||||
namespace: surf
|
||||
spec:
|
||||
restartPolicy: Never
|
||||
containers:
|
||||
- name: mapsdl
|
||||
image: registry.ntwl.xyz/megastructure-surf-mapsdl:latest
|
||||
imagePullPolicy: Always
|
||||
command:
|
||||
- "deno"
|
||||
- "run"
|
||||
- "-A"
|
||||
- "mapsdl.ts"
|
||||
env:
|
||||
- name: MAPS_DIR
|
||||
value: "/maps"
|
||||
- name: TEMP_DIR
|
||||
value: "/tmp/mapsdl"
|
||||
- name: GOOGLE_APPLICATION_CREDENTIALS
|
||||
value: "/app/credentials/service-account.json"
|
||||
- name: MAPS_WISHLIST
|
||||
value: |
|
||||
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:
|
||||
claimName: fastdl-maps
|
||||
- name: credentials
|
||||
secret:
|
||||
secretName: mapsdl-credentials
|
||||
schedule: "*/1 * * * *"
|
||||
concurrencyPolicy: Forbid
|
||||
successfulJobsHistoryLimit: 1
|
||||
failedJobsHistoryLimit: 3
|
||||
jobTemplate:
|
||||
spec:
|
||||
template:
|
||||
spec:
|
||||
restartPolicy: Never
|
||||
containers:
|
||||
- name: mapsdl
|
||||
image: registry.ntwl.xyz/megastructure-surf-mapsdl:latest
|
||||
imagePullPolicy: Always
|
||||
command:
|
||||
- "deno"
|
||||
- "run"
|
||||
- "-A"
|
||||
- "mapsdl.ts"
|
||||
env:
|
||||
- name: MAPS_DIR
|
||||
value: "/maps"
|
||||
- name: TEMP_DIR
|
||||
value: "/tmp/mapsdl"
|
||||
- name: GOOGLE_APPLICATION_CREDENTIALS
|
||||
value: "/app/credentials/service-account.json"
|
||||
- name: MAPS_LIST_FILE
|
||||
value: "/cfg/mapcycle.txt"
|
||||
volumeMounts:
|
||||
- name: fastdl-maps
|
||||
mountPath: /maps
|
||||
- name: credentials
|
||||
mountPath: /app/credentials
|
||||
readOnly: true
|
||||
- name: cfg
|
||||
mountPath: /cfg
|
||||
readOnly: true
|
||||
volumes:
|
||||
- name: fastdl-maps
|
||||
persistentVolumeClaim:
|
||||
claimName: fastdl-maps
|
||||
- name: credentials
|
||||
secret:
|
||||
secretName: mapsdl-credentials
|
||||
- name: cfg
|
||||
configMap:
|
||||
name: cfg
|
||||
|
||||
---
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user