infra/k8s/forgejo/renovatebot.yaml

31 lines
857 B
YAML

apiVersion: batch/v1
kind: CronJob
metadata:
name: renovate
spec:
schedule: '@hourly'
concurrencyPolicy: Forbid
jobTemplate:
spec:
template:
spec:
containers:
- name: renovate
image: renovate/renovate:38
envFrom:
- secretRef:
name: renovate
- configMapRef:
name: renovate
restartPolicy: Never
---
apiVersion: v1
kind: ConfigMap
metadata:
name: renovate
data:
RENOVATE_AUTODISCOVER: 'true'
RENOVATE_ENDPOINT: 'https://git.janky.solutions'
RENOVATE_GIT_AUTHOR: 'Renovate Bot <renovatebot@janky.solutions>'
RENOVATE_PLATFORM: gitea
RENOVATE_ALLOWED_POST_UPGRADE_COMMANDS: docker run --rm -v $(pwd):/infra -w /infra git.devhack.net/devhack/containers/deployer:latest -- ./helm/render-all.sh