From 1026c2e1fedc889feb6b943a33f45f5a4b49c729 Mon Sep 17 00:00:00 2001 From: antares-sw <23400824+antares-sw@users.noreply.github.com> Date: Thu, 30 May 2024 09:27:15 +0300 Subject: [PATCH] Add cronjob manifest --- price_updater/manifest.yaml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 price_updater/manifest.yaml diff --git a/price_updater/manifest.yaml b/price_updater/manifest.yaml new file mode 100644 index 0000000..c57e71c --- /dev/null +++ b/price_updater/manifest.yaml @@ -0,0 +1,18 @@ +apiVersion: batch/v1 +kind: CronJob +metadata: + name: multichain-price-update +spec: + schedule: "00 */6 * * *" + jobTemplate: + spec: + template: + spec: + containers: + - name: update + image: europe-west4-docker.pkg.dev/stakewiselabs/public/multichain:latest + imagePullPolicy: Always + envFrom: + - configMapRef: + name: multichain-config + restartPolicy: OnFailure \ No newline at end of file