Add renovatebot

This commit is contained in:
Finn 2024-09-07 21:55:41 -07:00
parent 2433b112c9
commit f116012a37
2 changed files with 31 additions and 0 deletions

View file

@ -8,6 +8,7 @@ resources:
- services.yaml
- statefulset.yaml
- secrets.yaml
- renovatebot.yaml
configMapGenerator:
- name: forgejo-templates-base
files:

View file

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