infra4talos/apps-kustomized/renovate/cronjob.yaml

37 lines
1.1 KiB
YAML
Raw Normal View History

apiVersion: batch/v1
kind: CronJob
metadata:
name: renovate
spec:
schedule: '@daily'
concurrencyPolicy: Forbid
jobTemplate:
spec:
template:
spec:
containers:
- name: renovate
# Update this to the latest available and then enable Renovate on
# the manifest
image: renovate/renovate:38.101.1
args:
- user/repo
# Environment Variables
env:
- name: LOG_LEVEL
value: info
- name: RENOVATE_AUTODISCOVER
value: 'true'
- name: RENOVATE_ENDPOINT
value: https://git.martyn.berlin
- name: RENOVATE_PLATFORM
value: gitea #actually forgejo but renovate calls it gitea
- name: RENOVATE_GIT_AUTHOR
value: 'Renovate bot <git@martyn.berlin>'
- name: RENOVATE_TOKEN
valueFrom:
secretKeyRef:
name: renovate-env
key: RENOVATE_TOKEN
restartPolicy: Never