Compare commits

..

3 Commits

Author SHA1 Message Date
Alie c085ce9bf1 WHY OPENSSL
Unit Tests with docker compose and cargo / unit-test (push) Successful in 1m10s Details
Build image / build (push) Successful in 33m45s Details
2024-02-23 19:44:31 +01:00
Alie be94287518 Merge tag 'v1.0.1' into develop
Unit Tests with docker compose and cargo / unit-test (push) Successful in 1m24s Details
v1.0.1
2024-02-23 17:47:05 +01:00
Alie 49c4a11434 Merge tag 'v1.0.0' into develop
Unit Tests with docker compose and cargo / unit-test (push) Successful in 1m18s Details
v1.0.0
2024-02-23 08:18:16 +01:00
1 changed files with 28 additions and 0 deletions

28
cron.yaml Normal file
View File

@ -0,0 +1,28 @@
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