37 lines
1.0 KiB
YAML
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
|