From fdad62f0b269066ba2e0d25cc6bd6db54f20584e Mon Sep 17 00:00:00 2001 From: Alie Date: Wed, 29 May 2024 20:37:25 +0200 Subject: [PATCH] starting --- cron.yaml | 28 ---------------------------- 1 file changed, 28 deletions(-) delete mode 100644 cron.yaml diff --git a/cron.yaml b/cron.yaml deleted file mode 100644 index 0991435..0000000 --- a/cron.yaml +++ /dev/null @@ -1,28 +0,0 @@ -apiVersion: batch/v1beta1 -kind: CronJob -metadata: - name: bot-cronjob -spec: - schedule: "* */6 * * *" # Runs every 6 hours - jobTemplate: - spec: - template: - spec: - containers: - - name: bot-job - image: git.fai.st/fedi-image-bot/mastodon-image-uploader-bot:v1.0.0 - volumeMounts: - - name: config-toml - mountPath: /app/config.toml - readOnly: true - - name: mastodon-token - mountPath: /app/mastodon-data.toml - readOnly: true - restartPolicy: Never - volumes: - - name: config-toml - configMap: - name: bot-config-toml - - name: mastodon-token - secret: - secretName: mastodon-data