gitea/manifests/common/renovate.yaml
ange f231efb04e
All checks were successful
/ deploy (push) Successful in 19s
feat: renovatebot (#2)
Reviewed-on: #2
2024-12-23 02:44:15 +00:00

37 lines
1.0 KiB
YAML

---
apiVersion: batch/v1
kind: CronJob
metadata:
name: renovate
spec:
schedule: '0 0 * * 1'
concurrencyPolicy: Forbid
jobTemplate:
spec:
template:
spec:
restartPolicy: Never
containers:
- name: renovate
image: docker.io/renovate/renovate:slim
imagePullPolicy: Always
env:
- name: LOG_LEVEL
value: debug
- name: RENOVATE_AUTODISCOVER
value: 'true'
- name: RENOVATE_PLATFORM
value: gitea
- name: RENOVATE_ENDPOINT
value: "https://$BASE_URL/api/v1"
- name: RENOVATE_USERNAME
valueFrom:
secretKeyRef:
name: gitea-renovate
key: username
- name: RENOVATE_TOKEN
valueFrom:
secretKeyRef:
name: gitea-renovate
key: token