infra/k8s/forgejo/renovatebot.yaml

29 lines
746 B
YAML
Raw Normal View History

2024-09-08 04:55:41 +00:00
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
2024-09-08 04:55:41 +00:00
envFrom:
- secretRef:
name: renovate
volumeMounts:
- name: renovate-config
mountPath: /etc/renovate
2024-09-08 04:55:41 +00:00
restartPolicy: Never
volumes:
- name: renovate-config
configMap:
name: renovate-config