Add renovatebot
This commit is contained in:
parent
2433b112c9
commit
f116012a37
2 changed files with 31 additions and 0 deletions
|
@ -8,6 +8,7 @@ resources:
|
|||
- services.yaml
|
||||
- statefulset.yaml
|
||||
- secrets.yaml
|
||||
- renovatebot.yaml
|
||||
configMapGenerator:
|
||||
- name: forgejo-templates-base
|
||||
files:
|
||||
|
|
30
k8s/forgejo/renovatebot.yaml
Normal file
30
k8s/forgejo/renovatebot.yaml
Normal 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
|
Loading…
Reference in a new issue