infra/k8s/forgejo/renovatebot.yaml

29 lines
737 B
YAML
Raw Permalink 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
2024-11-04 17:32:29 +00:00
image: ghcr.io/renovatebot/renovate:39
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