Skip to content

fix(k8s): Keep the Renovate token away from upgrade tasks - #6251

Merged
dan-petty merged 1 commit into
mainfrom
fix/6020-keep-the-renovate-token-away-from
Nov 18, 2026
Merged

dan-petty merged 1 commit into
mainfrom
fix/6020-keep-the-renovate-token-away-from

Conversation

@devops-cli-service

@devops-cli-service devops-cli-service Bot commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor

A postUpgradeTasks command of the Renovate CronJob (#4905) runs as user 12021 in the container that reads the installation token, and that token holds contents: write and workflows: write on every repository of the App installation. A bad task or a bad upstream release can read /token/github-token and send it out over public HTTPS, so the claim of ADR 0027 that a repository command reaches no key is false for the token (#6020).

Closes #6020

Change: openspec/changes/archive/2026-11-18-6020-keep-the-renovate-token-away-from/

@devops-cli-service devops-cli-service Bot added type/docs Type docs: a change to the documents scope/openspec OpenSpec changes, specs and their checks labels Nov 18, 2026
@devops-cli-service
devops-cli-service Bot marked this pull request as ready for review November 18, 2026 02:40
@dan-petty
dan-petty force-pushed the fix/6020-keep-the-renovate-token-away-from branch from 547e39a to 0a9a3b6 Compare November 18, 2026 04:39
@dan-petty dan-petty changed the title docs(openspec): plan #6020 Keep the Renovate token away from tasks fix(k8s): Keep the Renovate token away from upgrade tasks Nov 18, 2026
@dan-petty
dan-petty force-pushed the fix/6020-keep-the-renovate-token-away-from branch 2 times, most recently from c266890 to 779bcef Compare November 18, 2026 05:02
Read and remove the token file in config.js before Renovate processes a
repository. Mount the token volume writable in container renovate. Reject
a config that keeps the token file and reject a read-only token mount in
the k8s gate row. Record the residual risk of the token in memory in
ADR 0027.

Closes #6020.
@dan-petty
dan-petty force-pushed the fix/6020-keep-the-renovate-token-away-from branch from 779bcef to 570aae0 Compare November 18, 2026 05:12
@dan-petty

Copy link
Copy Markdown
Owner

Check results

Head commit: 570aae0dead9b526caa21adfe16ecda3a2d78b63

Check Conclusion Link
Tests & Coverage success run
devops-cli success run
zizmor success run
trivy-config success run
Plan Check skipped run
CodeQL success run
Test Job Duration skipped run
Tests on Main skipped run
Dependency Freshness skipped run
Static Analysis success run
Tests & Coverage (shard 5 of 5) success run
Tests & Coverage (shard 3 of 5) success run
Runner Image success run
MCP Server Image success run
Service Image success run
Changed-Test Independence success run
Tests & Coverage (shard 2 of 5) success run
Tests & Coverage (shard 1 of 5) success run
Tests & Coverage (shard 4 of 5) success run
Design Tokens success run
Docs Site Build success run
Fail-to-Pass Check success run
Analyze (python) success run
Analyze (actions) success run
Image Pins success run
Semantic PR title success run

Fail-to-pass run: https://github.com/dan-petty/devops-cli/actions/runs/44242608134/job/134593846337

Skipped check: Plan Check
Skipped check: Test Job Duration
Skipped check: Tests on Main
Skipped check: Dependency Freshness

@dan-petty
dan-petty merged commit fa261c8 into main Nov 18, 2026
26 checks passed
@dan-petty
dan-petty deleted the fix/6020-keep-the-renovate-token-away-from branch November 18, 2026 12:10
dan-petty-release Bot added a commit that referenced this pull request Nov 18, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.176.0](v0.175.0...v0.176.0)
(2026-11-18)


### Features

* **ai:** Score retrieval with KB gold set
([#6169](#6169))
([06f8e4f](06f8e4f))


### Bug Fixes

* **deps:** update Helm release argo-cd to v10.18.1
([#6283](#6283))
([d2407c5](d2407c5))
* **design:** audit the Style Dictionary lock in the gate
([#6265](#6265))
([c3566da](c3566da))
* **k8s:** Keep the Renovate token away from upgrade tasks
([#6251](#6251))
([fa261c8](fa261c8))
* **mcp:** bound the GitHub MCP tools longer than a GitHub read
([#6272](#6272))
([059df0f](059df0f))
* **roadmap:** Isolate the review window git transcript from the host
([#6282](#6282))
([4b14315](4b14315))
* **roadmap:** Label other job comments in the alternatives request
([#6264](#6264))
([917ad07](917ad07))
* **roadmap:** preserve stage plan kind on pr collision
([#6288](#6288))
([8859a9b](8859a9b))
* **security:** Judge KSV-0014 with a dated ignore entry
([#6286](#6286))
([07240a1](07240a1))

---
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/openspec OpenSpec changes, specs and their checks type/docs Type docs: a change to the documents

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix(k8s): Keep the Renovate token away from upgrade tasks

1 participant