Repository navigation
fix(k8s): deploy-stack fetches a private Application repo - #5331
Conversation
render_at_revision gave git fetch only the SSH option, so git had no credential for a private repository on github.com and failed with "could not read Username". The fetch now also gets the -c values of CONST_GIT_GITHUB_CREDENTIAL_CONFIG, as infra/repo_tree.py does. The empty helper clears the helpers of the config files for github.com, and gh auth git-credential reads the token that the process runner pins on a git child that reaches a remote. The helper key names https://github.com, so a fetch from another host or over SSH does not change. k8s/README.md says that the fetch uses the credential of the GitHub session and that the dry run fetches nothing.
ChecksFail-to-pass (AGENTS.md rule 4): All 15 tests pass on the branch. Scoped checks on the branch (at
Premise on the real system (git 2.55.0): a direct call of
The check of the issueThe issue and step 5 of #5120 ask for the check " Render diffNo manifest changes. The only Notes for the hostFor a private repository, the host that runs deploy-stack needs |
🤖 I have created a release *beep* *boop* --- ## [0.125.3](v0.125.2...v0.125.3) (2026-11-13) ### Bug Fixes * **k8s:** deploy-stack fetches a private Application repo ([#5331](#5331)) ([b0e7c5d](b0e7c5d)) * **telemetry:** keep one metric stream per workload ([#5324](#5324)) ([0165669](0165669)) --- 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>
render_at_revision gave git fetch only the SSH option. Thus git had no credential for a private repository on github.com, and the fetch failed with "could not read Username". The fetch now also gets the
-cvalues ofCONST_GIT_GITHUB_CREDENTIAL_CONFIG, asinfra/repo_tree.pydoes. The empty helper value clears the helpers of the config files for github.com. Thengh auth git-credentialgives git the token that the process runner pins on a git child that reaches a remote. The helper key names https://github.com, so a fetch from another host or over SSH does not change.The homelab migration (#5120) moves the Applications ingress and mattermost to a private repository, and deploy-stack must render them until the override path goes.
k8s/README.mdsays that the fetch uses the credential of the GitHub session and that the dry run fetches nothing.Closes #5294
Change:
openspec/changes/archive/2026-11-13-5294-deploy-stack-fetches-a-private-application/