more maps

This commit is contained in:
Nathan Rashleigh 2026-02-10 13:11:37 +11:00
parent 15cd89da06
commit f81db458ab

View File

@ -49,8 +49,27 @@ metadata:
namespace: surf namespace: surf
data: data:
mapcycle.txt: | mapcycle.txt: |
surf_fornax surf_fortum_fix
surf_anzchamps
surf_andromeda
surf_boreas 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 # MAP DOWNLOADER
# ----------------------------------------------------------------------- # -----------------------------------------------------------------------
apiVersion: v1 apiVersion: batch/v1
kind: Pod kind: CronJob
metadata: metadata:
name: mapsdl name: mapsdl
namespace: surf namespace: surf
spec: spec:
restartPolicy: Never schedule: "*/1 * * * *"
containers: concurrencyPolicy: Forbid
- name: mapsdl successfulJobsHistoryLimit: 1
image: registry.ntwl.xyz/megastructure-surf-mapsdl:latest failedJobsHistoryLimit: 3
imagePullPolicy: Always jobTemplate:
command: spec:
- "deno" template:
- "run" spec:
- "-A" restartPolicy: Never
- "mapsdl.ts" containers:
env: - name: mapsdl
- name: MAPS_DIR image: registry.ntwl.xyz/megastructure-surf-mapsdl:latest
value: "/maps" imagePullPolicy: Always
- name: TEMP_DIR command:
value: "/tmp/mapsdl" - "deno"
- name: GOOGLE_APPLICATION_CREDENTIALS - "run"
value: "/app/credentials/service-account.json" - "-A"
- name: MAPS_WISHLIST - "mapsdl.ts"
value: | env:
surf_anzchamps - name: MAPS_DIR
surf_boreas value: "/maps"
surf_deathstar - name: TEMP_DIR
surf_ebony value: "/tmp/mapsdl"
surf_fornax - name: GOOGLE_APPLICATION_CREDENTIALS
surf_garden value: "/app/credentials/service-account.json"
surf_in_space - name: MAPS_LIST_FILE
surf_kepler value: "/cfg/mapcycle.txt"
surf_kitsune volumeMounts:
surf_kitsune2 - name: fastdl-maps
surf_lt_omnific mountPath: /maps
surf_pantheon - name: credentials
surf_utopia_njv mountPath: /app/credentials
volumeMounts: readOnly: true
- name: fastdl-maps - name: cfg
mountPath: /maps mountPath: /cfg
- name: credentials readOnly: true
mountPath: /app/credentials volumes:
readOnly: true - name: fastdl-maps
volumes: persistentVolumeClaim:
- name: fastdl-maps claimName: fastdl-maps
persistentVolumeClaim: - name: credentials
claimName: fastdl-maps secret:
- name: credentials secretName: mapsdl-credentials
secret: - name: cfg
secretName: mapsdl-credentials configMap:
name: cfg
--- ---