infra/k8s/forgejo/renovatebot.yaml

28 lines
746 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:38.127-full
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