2022-11-11 11:57:55 +01:00
|
|
|
apiVersion: batch/v1
|
|
|
|
kind: CronJob
|
|
|
|
metadata:
|
|
|
|
name: renovate
|
|
|
|
spec:
|
|
|
|
schedule: "@hourly"
|
|
|
|
concurrencyPolicy: Forbid
|
|
|
|
jobTemplate:
|
|
|
|
spec:
|
|
|
|
ttlSecondsAfterFinished: 3600
|
|
|
|
template:
|
|
|
|
spec:
|
|
|
|
nodeSelector:
|
|
|
|
kubernetes.io/arch: amd64
|
|
|
|
containers:
|
|
|
|
- name: renovate
|
|
|
|
|
|
|
|
# Update this to the latest available and then enable Renovate on
|
|
|
|
# the manifest
|
2023-03-28 04:01:05 +02:00
|
|
|
image: renovate/renovate:35.24.3
|
2022-11-11 11:57:55 +01:00
|
|
|
args:
|
|
|
|
- Roxedus/Argo
|
2022-12-15 13:41:03 +01:00
|
|
|
- Roxedus/Infra
|
2022-11-11 11:57:55 +01:00
|
|
|
# Environment Variables
|
|
|
|
env:
|
|
|
|
- name: LOG_LEVEL
|
|
|
|
value: debug
|
|
|
|
- name: RENOVATE_PLATFORM
|
|
|
|
value: gitea
|
|
|
|
- name: RENOVATE_GIT_AUTHOR
|
|
|
|
value: "Botty McBottface <bot@roxedus.dev>"
|
|
|
|
- name: RENOVATE_ENDPOINT
|
|
|
|
value: "https://git.roxedus.dev/api/v1"
|
|
|
|
envFrom:
|
|
|
|
- secretRef:
|
2022-12-15 14:22:45 +01:00
|
|
|
name: renovate-secret
|
2022-11-11 11:57:55 +01:00
|
|
|
volumeMounts:
|
|
|
|
- name: work-volume
|
|
|
|
mountPath: /tmp/renovate/
|
|
|
|
restartPolicy: Never
|
|
|
|
tolerations:
|
|
|
|
- key: "node-role.kubernetes.io/control-plane"
|
|
|
|
operator: "Exists"
|
|
|
|
- key: "node-role.kubernetes.io/master"
|
|
|
|
operator: "Exists"
|
|
|
|
volumes:
|
|
|
|
- name: work-volume
|
|
|
|
emptyDir: {}
|