50 lines
1.5 KiB
YAML
50 lines
1.5 KiB
YAML
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
|
|
image: renovate/renovate:32.74.2
|
|
args:
|
|
- Roxedus/Argo
|
|
# 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:
|
|
name: renovate-pat
|
|
- secretRef:
|
|
name: renovate-gh
|
|
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: {}
|