Files
homelab/renovate/k8s/cronjob.yaml
T
renovate-bot 368935f432
ci / validate (push) Skipped
ci / lint-prettier (push) Skipped
ci / lint-ruff (push) Skipped
ci / lint-yaml (push) Skipped
ci / lint-dockerfiles (push) Skipped
renovate-ci / validate-renovate (push) Skipped
ci / lint-compose (pull_request) Successful in 11s
ci / lint-actionlint (pull_request) Successful in 6s
ci / lint-shellcheck (pull_request) Successful in 16s
ci / lint-prettier (pull_request) Successful in 19s
ci / lint-ruff (pull_request) Successful in 7s
ci / lint-yaml (pull_request) Successful in 10s
ci / lint-dockerfiles (pull_request) Successful in 4s
ci / validate (pull_request) Successful in 7s
ci / build (pull_request) Skipped
renovate-ci / validate-renovate (pull_request) Failing after 1m6s
chore(deps): update renovate/renovate docker tag to v44.140.0
2026-10-06 16:19:22 +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.140.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