infra/k8s/forgejo/renovatebot.yaml

28 lines
741 B
YAML

apiVersion: batch/v1
kind: CronJob
metadata:
name: renovate
spec:
schedule: '@hourly'
concurrencyPolicy: Forbid
jobTemplate:
spec:
template:
spec:
containers:
- name: renovate
image: ghcr.io/renovatebot/renovate:latest
env:
- name: RENOVATE_CONFIG_FILE
value: /etc/renovate/config.js
envFrom:
- secretRef:
name: renovate
volumeMounts:
- name: renovate-config
mountPath: /etc/renovate
restartPolicy: Never
volumes:
- name: renovate-config
configMap:
name: renovate-config