Argo/renovate/renovate-job.yml

43 lines
1.2 KiB
YAML
Raw Normal View History

2022-05-26 05:51:13 +02:00
apiVersion: batch/v1
kind: CronJob
metadata:
name: renovate
spec:
schedule: "@hourly"
concurrencyPolicy: Forbid
jobTemplate:
spec:
2022-05-26 14:40:37 +02:00
ttlSecondsAfterFinished: 3600
2022-05-26 05:51:13 +02:00
template:
spec:
2022-05-26 06:06:01 +02:00
nodeSelector:
kubernetes.io/arch: amd64
2022-05-26 05:51:13 +02:00
containers:
- name: renovate
2022-05-26 06:06:01 +02:00
2022-05-26 05:51:13 +02:00
# Update this to the latest available and then enable Renovate on
# the manifest
2022-05-26 06:08:38 +02:00
image: renovate/renovate:32.0.0
2022-05-26 05:51:13 +02:00
args:
2022-05-26 06:17:01 +02:00
- Roxedus/Argo
2022-05-26 05:51:13 +02:00
# Environment Variables
env:
- name: LOG_LEVEL
value: debug
- name: RENOVATE_PLATFORM
value: gitea
- name: RENOVATE_GIT_AUTHOR
value: "Botty McBottface <bot@roxedus.dev>"
2022-05-26 06:14:44 +02:00
- name: RENOVATE_ENDPOINT
value: "https://git.roxedus.dev/api/v1"
2022-05-26 05:51:13 +02:00
envFrom:
- secretRef:
name: renovate-pat
volumeMounts:
- name: work-volume
mountPath: /tmp/renovate/
restartPolicy: Never
volumes:
- name: work-volume
emptyDir: {}