Repository navigation
fix(k8s): Keep the Renovate token away from upgrade tasks - #6251
Merged
Merged
Conversation
dan-petty
force-pushed
the
fix/6020-keep-the-renovate-token-away-from
branch
from
November 18, 2026 04:39
547e39a to
0a9a3b6
Compare
dan-petty
force-pushed
the
fix/6020-keep-the-renovate-token-away-from
branch
2 times, most recently
from
November 18, 2026 05:02
c266890 to
779bcef
Compare
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
force-pushed
the
fix/6020-keep-the-renovate-token-away-from
branch
from
November 18, 2026 05:12
779bcef to
570aae0
Compare
Owner
Check resultsHead commit:
Fail-to-pass run: https://github.com/dan-petty/devops-cli/actions/runs/44242608134/job/134593846337 Skipped check: Plan Check |
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
A
postUpgradeTaskscommand 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/