Skip to content

feat(k8s): run self-hosted Renovate as a CronJob in devops - #6014

Merged
dan-petty merged 2 commits into
mainfrom
feat/4905-renovate-cronjob
Nov 16, 2026
Merged

dan-petty merged 2 commits into
mainfrom
feat/4905-renovate-cronjob

Conversation

@dan-petty

Copy link
Copy Markdown
Owner

Self-hosted Renovate runs in the cluster, so the pins of the Service repositories get updates on a schedule (#4893).

  • k8s/devops/renovate/: CronJob renovate every 2 hours (UTC) with ghcr.io/renovatebot/renovate:44.239.1 by digest, as a lookup dry run until chore(k8s): measure the first Renovate runs in the cluster #4909. Init container seed copies the image folders that Renovate writes under a read-only root. Init container token runs devops gh app-token --app renovate and is the only reader of Secret devops/renovate.
  • ConfigMap renovate-config, PVC renovate-cache, and NetworkPolicy renovate-perimeter: CoreDNS, the OTel collector and public TCP 443 only.
  • Secret row devops/renovate with optional keys, its orphan entry, and the deploy-stack paths.
  • ADR 0027 records the AGPL-3.0-only exception for the unmodified image. CONTRIBUTING.md and docs/CLUSTER.md name it.

Closes #4905
Change: openspec/changes/archive/2026-11-16-4905-renovate-cronjob/

CronJob renovate runs the pinned Renovate image every 2 hours. An init container writes the token of the Renovate App, and only it reads Secret devops/renovate. ADR 0027 records the license exception. Closes #4905.
@dan-petty dan-petty added type/feature Type feature: a new function scope/k8s Kubernetes commands, Helm charts, pods, services, and policies labels Nov 16, 2026
The cache claim is local-path. The test builds the pod temp path from the pod root, as the SearXNG test does, so bandit B108 does not flag it.
@dan-petty
dan-petty marked this pull request as ready for review November 16, 2026 19:16
@dan-petty
dan-petty merged commit dfc56b3 into main Nov 16, 2026
25 checks passed
@dan-petty
dan-petty deleted the feat/4905-renovate-cronjob branch November 16, 2026 19:18
dan-petty pushed a commit that referenced this pull request Nov 16, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.168.0](v0.167.1...v0.168.0)
(2026-11-16)


### Features

* **k8s:** run self-hosted Renovate as a CronJob in devops
([#6014](#6014))
([dfc56b3](dfc56b3)),
closes [#4905](#4905)
* **roadmap:** Give each bot PR one verdict with a review step
([#6015](#6015))
([d180c23](d180c23)),
closes [#5969](#5969)
* **roadmap:** The watch row starts fix-checks Jobs
([#6009](#6009))
([0a14af8](0a14af8)),
closes [#5027](#5027)

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: dan-petty-release[bot] <346998822+dan-petty-release[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope/k8s Kubernetes commands, Helm charts, pods, services, and policies type/feature Type feature: a new function

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat(k8s): run self-hosted Renovate as a CronJob in devops

1 participant