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
|
2023-01-03 14:00:23 +01:00
|
|
|
image: renovate/renovate:34.80.0
|
2022-05-26 05:51:13 +02:00
|
|
|
args:
|
2022-05-26 06:17:01 +02:00
|
|
|
- Roxedus/Argo
|
2022-12-15 13:41:03 +01:00
|
|
|
- Roxedus/Infra
|
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:
|
2022-12-15 14:22:45 +01:00
|
|
|
name: renovate-secret
|
2022-05-26 05:51:13 +02:00
|
|
|
volumeMounts:
|
|
|
|
- name: work-volume
|
|
|
|
mountPath: /tmp/renovate/
|
|
|
|
restartPolicy: Never
|
2022-07-02 21:37:54 +02:00
|
|
|
tolerations:
|
|
|
|
- key: "node-role.kubernetes.io/control-plane"
|
|
|
|
operator: "Exists"
|
|
|
|
- key: "node-role.kubernetes.io/master"
|
|
|
|
operator: "Exists"
|
2022-05-26 05:51:13 +02:00
|
|
|
volumes:
|
|
|
|
- name: work-volume
|
|
|
|
emptyDir: {}
|