Files
homelab/renovate/k8s/cronjob.yaml
T
renovate-bot Bot a9e9a126a3
ci / Compose (pull_request) Successful in 14s
ci / Python and tests (pull_request) Successful in 6s
ci / Kubernetes (pull_request) Successful in 7s
ci / Workflows (pull_request) Successful in 9s
ci / Shell (pull_request) Successful in 26s
ci / Formatting (pull_request) Successful in 22s
ci / YAML (pull_request) Successful in 12s
ci / Dockerfiles (pull_request) Successful in 5s
ci / image-plan (pull_request) Skipped
ci / Image (${{ matrix.name }}) (pull_request) Skipped
ci / build (pull_request) Skipped
renovate-ci / validate-renovate (pull_request_target) Successful in 2m54s
chore(deps): update renovate/renovate docker tag to v44.147.0
2026-10-08 16:19:08 +00:00

62 lines
2.0 KiB
YAML

apiVersion: batch/v1
kind: CronJob
metadata:
name: renovate
namespace: renovate
spec:
schedule: "17 */6 * * *"
concurrencyPolicy: Forbid
successfulJobsHistoryLimit: 2
failedJobsHistoryLimit: 3
jobTemplate:
spec:
# Reap finished job pods (including manual `create job --from` runs,
# which history limits never delete). Keeps a day for debugging.
ttlSecondsAfterFinished: 86400
backoffLimit: 1
template:
spec:
restartPolicy: Never
containers:
- name: renovate
image: renovate/renovate:44.147.0
env:
- name: RENOVATE_PLATFORM
value: gitea
- name: RENOVATE_ENDPOINT
valueFrom:
secretKeyRef:
name: renovate-secrets
key: RENOVATE_ENDPOINT
- name: RENOVATE_TOKEN
valueFrom:
secretKeyRef:
name: renovate-secrets
key: RENOVATE_TOKEN
- name: RENOVATE_REPOSITORIES
valueFrom:
secretKeyRef:
name: renovate-secrets
key: RENOVATE_REPOSITORIES
- name: RENOVATE_CONFIG_FILE
value: /opt/renovate/renovate.json
- name: RENOVATE_BASE_DIR
value: /tmp/renovate
- name: RENOVATE_GITHUB_COM_TOKEN
valueFrom:
secretKeyRef:
name: renovate-secrets
key: RENOVATE_GITHUB_COM_TOKEN
optional: true
- name: LOG_LEVEL
value: info
volumeMounts:
- name: config
mountPath: /opt/renovate/renovate.json
subPath: renovate.json
readOnly: true
volumes:
- name: config
configMap:
name: renovate-config